|
From: | Paolo Bonzini |
Subject: | Re: [Help-smalltalk] Some issues with C callouts |
Date: | Mon, 28 Sep 2009 17:52:38 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.1) Gecko/20090814 Fedora/3.0-2.6.b3.fc11 Lightning/1.0pre Thunderbird/3.0b3 |
On 09/27/2009 07:04 PM, Dmitry Matveev wrote:
Hi everybody! I am going to write the XCB binding for GNU Smalltalk and now I'm playng with C call-outs. I've got an issue in the case when C function returns a structure itself (not a pointer).
In this case, you should create a wrapper to xcb_setup_roots_iterator that accepts a pointer to the structure and copies the return value there.
Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |