On 12 January 2013 03:03, Jesus Nuñez <poissonbreaker@gmail.com> wrote:
Hi everyone,
I was checking the NativeBoost code and I am confused with some heap allocation procedures, specifically:
NBFFICallout>>resolveType: "It receives a type name aTypeName" ... "name becomes an alias for aTypeName"
binding := resolver nbBindingOf: name asSymbol. binding ifNotNil: [ ^ (binding value asNBExternalType: self) pointerArity: ptrArity ] .
Is there anybody who can help me solving an issue I have found
Hi, Jesus. If you install NativeBoost-Help package , there is a detailed description what happens there. Gofer it squeaksource: 'NativeBoost'; package:'NativeBoost-Help'; load. then: NBHelp open. Look for FFI -> Type system -> Step 2 . Resolving types (if 'NBHelp open.' won't work for some reason, you can still find that page in NBHelpOnFFI class. But i did some last-minute checks, it should work fine in Pharo 2.0 images ) -- Best regards, Igor Stasenko.