[Prev][Next][Index][Thread]
Re: machine hacking
"David McClain" <dmcclain@azstarnet.com> writes:
> The trouble arises because the value #xbadc0db4 can't be converted
> to <integer> since integers are only 29 bits or so. And I have to
> coerce the value to something acceptable to storing into a <c-long>
> value. Type <abstract-integer> doesn't work here, since <c-long>
> still expects an <integer>.
A similar problem came up a couple of years ago on the newsgroup but
the solution appears to have vanished off deja.com unfortunately.
Take a look at c-mapped-subtype in the online help. It shows an
example of converting integers to raw ints, etc. Using something like
this I think you can do what you want. I'm pretty sure the solution on
the newsgroup used that in some manner.
Chris.
--
http://www.double.co.nz/dylan
Follow-Ups:
References: