[Top][All Lists]

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

Re: ffi for glutInit

From: Nala Ginrut
Subject: Re: ffi for glutInit
Date: Thu, 26 Jul 2012 10:30:59 +0800

hi Aleix!
For our FFI system:
char** <==> '* <==> (quote *)

I'm not sure I understand your question correctly.
I assume that you want to know what's the presentation of char** for

On Thu, Jul 26, 2012 at 6:19 AM, Aleix Conchillo Flaqué
<address@hidden> wrote:
> Hi,
> I have started working on bindings for OpenGL and GLUT.
> The work is very preliminar, which means I can't even show a window yet.
> The scm files are semi-automatically generated by a python script that
> uses pycparser. So that saved quite a lot of time.
> Now, I'm stuck with glutInit. The signature of the function is like this:
> glutInit(int *argc, char **argv);
> See:
> I don't really know how to do the char** part, so I need some help here.
> For the user, the guile procedure will simply look like (glutInit) and
> internally (command-line) would be ideally used to construct the
> char**, etc.
> All other functions in glut.scm should work (at least they evaluate
> fine), except the ones related to fonts. So I would say that glutInit
> is the last one to have a basic program that runs OpenGL.
> Thanks in advance,
> Aleix

reply via email to

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