[M3devel] Question about TEXTs under CM3

Mika Nystrom mika at async.caltech.edu
Thu Jul 26 16:04:07 CEST 2007


Tony Hosking writes:
>Looks like we need to fix M3toC.StoT so that it works the same as old  
>PM3.  The old code works because it constructs a text *in* the heap  
>as an ARRAY OF CHAR, that just happens to have its payload (the array  
>contents) outside the heap.  (Arrays in M3 contain a reference to  
>their data).  We can play the same trick for Text8CString and get  
>things to work properly for you.  I will make this fix and check it in.
>
>
>On Jul 26, 2007, at 8:40 AM, Mika Nystrom wrote:
...
>> Does anyone have an opinion as to how this problem ought to be
>> solved?
>>
...

that's more than an opinion, but I'll happily accept it! :-)

    Mika



More information about the M3devel mailing list