Hello again, I think my problem is that I upgraded NativeCode and it can not handle some types, It prompts an error as: "unable to revolve external type: int", I ran a piece of code that was working before and it also failed. I stay with the older version so please ignore my question. 2013/1/12 Jesus Nuñez <poissonbreaker@gmail.com>
Sorry for the misleading term of "heap allocation procedures", better call it a piece of code :)
2013/1/12 Jesus Nuñez <poissonbreaker@gmail.com>
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. !!!!Why is this here??? It checks for the binding of a type?? binding ifNotNil: [ ^ (binding value asNBExternalType: self) pointerArity: ptrArity ] .
Is there anybody who can help me with this?, I think the semantic is wrong here or am I missing something??
Regards,
Jesus Nuñez
2013/1/12 Marcus Denker <marcus.denker@inria.fr>
On Jan 12, 2013, at 1:19 AM, Ben Coman <btc@openInWorld.com> wrote:
Frank Church wrote:
Hi Igor,
I am new to Smalltalk but not new to programming and I am into my first 14 hrs into learning it with Pharo.
Good to have you on board Frank. It will be interesting to follow your experience in becoming proficient in Smalltalk & Pharo. I am just coming up on a year of using Smalltalk/Pharo. There are a lot of hidden depths and I learn a lot watching the mail list for answers to questions that I hadn't thought of asking yet. So fire away.
Yes, and we really need to fix all the small hurdles people encounter⦠and improve the documentation for people not already knowing things..
Marcus