unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* guile struct members are not a good 1-1 match for c structs
@ 2014-04-30  1:51 Doug Evans
  2014-04-30  7:24 ` Andy Wingo
  0 siblings, 1 reply; 2+ messages in thread
From: Doug Evans @ 2014-04-30  1:51 UTC (permalink / raw)
  To: guile-devel

Hi all.

While reading guile sources I happened across the implementation
of struct scm_print_state.  ref: libguile/print.h

It (tries to) map a C struct to a set of Guile struct fields:
ref: SCM_PRINT_STATE_LAYOUT.

I *could* be missing something, but I think my angst can be represented
with the following question:

Has anyone tried to use scm_print_state from Scheme as a Guile struct
on a host with 64 bit words and 32 bit ints and 32 bit longs?

[P.S. This is with guile 2.0.9., which is what I have on my laptop -
currently travelling and don't currently have access to the git tree.]



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-04-30  7:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-30  1:51 guile struct members are not a good 1-1 match for c structs Doug Evans
2014-04-30  7:24 ` Andy Wingo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).