lua-l archive
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
] [
Date Index
] [
Thread Index
]
Subject
:
ffi methods aliasing/renaming
From
: Gaspard Bucher <gaspard@
...
>
Date
: Sat, 16 Jul 2011 09:24:04 +0200
I am considering using ffi for OpenGL, but I do not like the "gl" scoping redundancy:
gl
.
glMatrixMode
(
gl
.
GL_PROJECTION
)
Is it possible to somehow alias the constants and method calls in order to have ?
gl
.
MatrixMode
(
gl
.
PROJECTION
)
--
Gaspard
Follow-Ups
:
Re: ffi methods aliasing/renaming
,
Francesco Abbate
Re: ffi methods aliasing/renaming
,
Mike Pall
Prev by Date:
Re: Lua modules, explained simply
Next by Date:
Re: ffi methods aliasing/renaming
Previous by thread:
[ANN] lua-openssl v0.1.0 - a openssl full binding for lua
Next by thread:
Re: ffi methods aliasing/renaming
Index(es):
Date
Thread