[cffi-devel] char** ??
Goenninger, Frank
fgoenninger at prion.de
Wed Mar 15 18:28:21 UTC 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Hi all you CFFI hackers:
I am currently trying to get GLUT to work via CFFI.
There I have the following C function declaration:
extern void glutInit(int *argcp, char **argv);
Hmm - now I am asking myself:
1. Do I have to define a new type as Integer Pointer ? Same also for
char ** ?
2. How do I avoid defining new types while still being able to define
this function via defcfun ?
Or, in other words, how would you define this function with defcfun ??
Thanks for any pointers ;-)
Cheers,
Frank
-----BEGIN PGP SIGNATURE-----
Version: PGP Desktop 9.0.5 (Build 5050)
iQIVAwUBRBhcyGAKVUddnkqnAQrPUQ//TegvAbvahD9igy7yPtvdWnk92tv96wTt
9QafBaFtLHnxOevR9s5J+KhXSz512Vhtt73MaNAll69wbZJKCl9ZD9taTXfnRhbk
AA4Am3YZAPl8/QyMVKLwuDjkd9as+MIVWimcJrah/9Bi+h0/ySWlxAoYcP8XCz48
zMjp5LDVqupJ17nnLpwawn9FbSN2sGXjP3K8wlzdrlrVQnWHvS0+6ln1ioDrjH3Z
9V9HvCYO1diJc56T0lPmDVzK9tNyyljpvy8Ga3ePvRRvTToaYeXhXI1fkioYgmya
PZN44hNivPYMmY4cpVbOzPmQg63JqTnHqxSIuaqa/rf60s0q/0zCiBji+GTSfIrw
k38ucmEJqzd+p9Us6qISxwvTMc6+E4HUoH7KBAtMkleUk7hOSnjMO3WvB+jefRki
YFk56e/bwTW+MPre/96xefGSXeDvJ3+h/mlmKCF+Ug2s5tOikk45YiFl9iwSaB00
KKjUkVym9rVzN1iDVk9QgiiB2evpYejrTi62A4qUz20d12+BpegEPgEmo3swOpS4
ypKn6sWYLduQ46kkap87+ZJz9hqa37JmOTzk4gMYryR9FJ5OXeBo0BKMHAkn17gf
fA5EuskNfg7t5A+BSB18bA1VaSXvSvyryIcm7elHuQPkWSy0nwd81dFrhqYzxdxX
dr2D0uRLokk=
=Z2cP
-----END PGP SIGNATURE-----
More information about the cffi-devel
mailing list