[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Passing C pointers through guile

From: Greg Troxel
Subject: Re: Passing C pointers through guile
Date: Fri, 11 Jul 2008 09:05:14 -0400
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/22.1 (berkeley-unix)

"Kjetil S. Matheussen" <address@hidden> writes:

> Also, various types of non-gc pointers are stored in integers in
> all of the rt-*.scm files in
> and many others (xg.c, etc.). It would be horribly idiotic
> to write smurf's for all of those, or at least a common smurf, when a 
> single integer is enough.

What fraction of these uses are actually correct?  Have people run this
code on Windows 64 (which is LLP64, but on which long is 32 bits),
sparc64, and alpha.  I'm always worried when people store pointers in
integers - it's IMHO basically a wrong thing to do.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]