Mantis - Squeak
Viewing Issue Advanced Details
4737 FFI minor always 09-07-06 03:34 10-16-06 13:21
johnmci  
andreas  
normal  
closed 3.9  
fixed  
none    
none 3.9  
0004737: initializeFFIConstants contains wrong entry for FFITypeSignedInt
        at: FFITypeUnsignedInt put: 'ulong';
        at: FFITypeSignedInt put: 'ulong';

that causes

fields
    "MacHandle defineFields"

    ^#((nil 'ulong'))
to create

macHandle: anObject
    "This method was automatically generated"
    handle signedLongAt: 1 put: anObject

which is wrong.

    at: FFITypeSignedInt put: 'ulong';
should be
    at: FFITypeSignedInt put: 'long';

Notes
(0006932)
andreas   
09-07-06 04:08   
Fixed in http://source.squeakfoundation.org/FFI-Kernel-ar.7.mcz [^]