[Top][All Lists]

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

Re: FFI kick start

From: Andy Wingo
Subject: Re: FFI kick start
Date: Tue, 14 Oct 2008 21:47:05 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

On Tue 14 Oct 2008 11:43, john <address@hidden> writes:

> I am trying to get to grips with manually wrapping C functions but
> need some pointers. I have a C function:
> packedEncode *initializeEncode(char *pdu, int size)

You need to create a smob type for the packedEncode data structure. Make
sure that if C has a reference to it, that Scheme does also. Check the
section of the manual about "SMOBs".


reply via email to

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