guile-user
[Top][All Lists]
Advanced

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

Re: C structures


From: Neil Jerram
Subject: Re: C structures
Date: Fri, 30 Dec 2005 15:04:11 +0000
User-agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux)

Leonardo Lopes Pereira <address@hidden> writes:

> I would like to know if is there any way to convert C structs to any
> type of Guile data.

You need to be more precise about your requirements.  For example, at
the most basic level, we could say "yes, of course, the C structure

struct point {
  int x;
  int y;
}

can be converted to a Scheme pair: (cons x y)", but I'm guessing
that's not really what you meant.

Sorry, but please do write more.

       Neil





reply via email to

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