Objective-C and runtime type inspection
Joel Reymont
joelr1@REDACTED
Thu Aug 17 22:23:50 CEST 2006
On Aug 17, 2006, at 9:08 PM, Bob Ippolito wrote:
> What we do in PyObjC is use the RTTI to determine the size of the
> chunk to allocate, and return a tuple of (rval, output1, ...).
What if you have an _in_ structure that you need to pre-populate?
There's no way to get the size of that structure from Erlang unless
there's a way to ask the c-node to give you the size of that
structure somehow.
Maybe a message that returns the size of each argument for a given
selector?
--
http://wagerlabs.com/
More information about the erlang-questions
mailing list