Re: sizeof?

Kevin Rosenberg <kevin-HJRc7zDS/[email protected]> Wed, 26 Jun 2002 21:49:24 -0600
Newsgroups gmane.lisp.uffi.general
Message-ID <[email protected]>
On Tue, Jun 25, 2002 at 07:17:37PM -0400, [email protected] wrote:
> Is there any reason that uffi can't support the lispworks fli:size-of
> function?  This is one of the difficulties I'm running into while
> porting some code to uffi.

Hi Russ,

The main design criteria for UFFI is that valid UFFI must work on all
supported platforms. Currently, ACL objects are represented by untyped
integers (memory addresses), so it is not possible to find the size of
an ACL object.

However, I can probably support (I need to check CMUCL,LW, and ACL 
documentation) returning the size of an object type. Will that
meet your needs? 

-- 
Kevin Rosenberg
kevin-HJRc7zDS/[email protected]