[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-smalltalk] Some issues with C callouts
From: |
Dmitry Matveev |
Subject: |
Re: [Help-smalltalk] Some issues with C callouts |
Date: |
Mon, 28 Sep 2009 23:52:33 +0400 |
> 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.
>
Thank you, Paolo!
I've made the following:
void
gst_xcb_setup_roots_iterator (const xcb_setup_t *setup,
xcb_screen_iterator_t
*iter)
{ if (setup && iter)
*iter = xcb_setup_roots_iterator (setup);
}
in my shared library and
Xcb class >> setupRootsIterator: aSetup ptr: iterPtr [
<cCall: 'gst_xcb_setup_roots_iterator' returning: #void args:
#(#cObject #{XcbScreenIterator})>
]
in the gst binding.. Now it works!!
Regards,
Dmitry