Subject:
[ruby-ffi] Re: How to declare (int *argc, char *argv)?
From:
przemo_li
Date:
8/19/11 8:38 AM
To:
ruby-ffi

Oh
FGAPI and FGAPIENTRY have no meaning on Linux and I care only about
Linux support.

/* Non-Windows definition of FGAPI and FGAPIENTRY */
# define FGAPI
# define FGAPIENTRY

On Aug 19, 3:36 pm, przemo_li <an.prze...@gmail.com> wrote:
> I'm trying to do my own bindings for freeGLUT, but fail at:
>
> FGAPI void FGAPIENTRY glutInit( int* pargc, char** argv )
>
> how to declare it with ruby ffi?
> Then how to pass argc, argv? (ruby seam to have no such thing)