Re: [racket-users] FFI and C macros

2016-10-26 Thread James
On Oct 24, 2016, at 5:20 PM, Jens Axel Søgaard wrote: > Is https://docs.racket-lang.org/gir/index.html of any use in your context? Thanks. I'm actually not sure. I did find the gir package earlier but got the error shown below when I tried to use it. At first I thought it was because it's a

Re: [racket-users] FFI and C macros

2016-10-24 Thread Jens Axel Søgaard
Is https://docs.racket-lang.org/gir/index.html of any use in your context? /Jens Axel 2016-10-24 23:13 GMT+02:00 James James : > I am trying to use the libnice C library by way of FFI but a lot of the > libnice example C code is using macros. > > For example, G_OBJECT(). See: > https://develope

[racket-users] FFI and C macros

2016-10-24 Thread James James
I am trying to use the libnice C library by way of FFI but a lot of the libnice example C code is using macros. For example, G_OBJECT(). See: https://developer.gnome.org/gobject/stable/gobject-The-Base-Object-Type.html#G-OBJECT:CAPS It's used in Example 1 here: https://nice.freedesktop.org/libnic