Slang - self primitive: parameters:

Brad Fuller brad at sonaural.com
Tue Dec 13 20:02:18 UTC 2005


Hello all,

I'm trying to generate a 'ulong' in Slang using the "self primitive: 
parameters:" method.

    self primitive: 'primitivePutOutputParms'
        parameters: #(#SmallInteger #SmallInteger #Unsigned #Float #String).

But, I don't know how.  #Float generates a double and SmallInteger 
generates "int".  What are the other ones? Is this a dictionary?
When I use #Unsigned it generates:

    int parm2;

    
interpreterProxy->success(interpreterProxy->isKindOf(interpreterProxy->stackValue(2), 
"Unsigned"));
    parm2 = interpreterProxy->stackValue(2);

which I don't think I want, do I?

Also, does anyone know how to generate void pointer?: (void *)?

brad




More information about the Vm-dev mailing list