[Issue 9421] (Compiler internals) Change OutBuffer's interface
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Wed Feb  6 18:29:08 PST 2013
    
    
  
http://d.puremagic.com/issues/show_bug.cgi?id=9421
--- Comment #2 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2013-02-06 18:29:02 PST ---
So if I got it right we'd have:
char *OutBuffer::extractString()
{
    writeByte(0);
    char *p;
    p = (char *)data;
    data = NULL;
    offset = 0;
    size = 0;
    return p;
}
char *OutBuffer::scopedString()
{
    writeByte(0);
    return (char *)data;
}
char *OutBuffer::scopedData()
{
    return (char *)data;
}
Is that right?
-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
    
    
More information about the Digitalmars-d-bugs
mailing list