diff options
| author | Jeff Armstrong <jeffrey.armstrong@approximatrix.com> | 2011-07-13 22:31:36 -0400 |
|---|---|---|
| committer | Jeff Armstrong <jeffrey.armstrong@approximatrix.com> | 2011-07-13 22:31:36 -0400 |
| commit | 206bac5ec8a0faafc1e65c992b404f80a9d96daf (patch) | |
| tree | 433f0b8cf10c799dbc4bdf46a79b1d28bce44e67 /lib/gem.c | |
| parent | 33346eaee2add1bf9c801cf92f19664ffaa71f2b (diff) | |
| download | gempy-206bac5ec8a0faafc1e65c992b404f80a9d96daf.tar.gz gempy-206bac5ec8a0faafc1e65c992b404f80a9d96daf.zip | |
Added a number of AES Window library function wrappers.
Diffstat (limited to 'lib/gem.c')
| -rw-r--r-- | lib/gem.c | 19 |
1 files changed, 17 insertions, 2 deletions
@@ -28,6 +28,14 @@ GemMethods[] = { /* AES Resource Library */ {"rsrc_load", py_rsrc_load, METH_VARARGS, "Load a resource into memory"}, {"rsrc_gaddr", py_rsrc_gaddr, METH_VARARGS, "Return an encapsulated memory address of a resource component"}, + + /* AES Window Library */ + {"wind_create", py_wind_create, METH_VARARGS, "Create a window"}, + {"wind_open", py_wind_open, METH_VARARGS, "Open a window"}, + {"wind_get", py_wind_get, METH_VARARGS, "Retrieve window information"}, + {"wind_delete", py_wind_delete, METH_VARARGS, "Delete a window (after closing...)"}, + {"wind_close", py_wind_close, METH_VARARGS, "Close a window"}, + {NULL,NULL,0,NULL} }; @@ -72,11 +80,18 @@ PROC LibFunc[] = { /* AES Resource Library */ "py_rsrc_load", "Internal\n", py_rsrc_load, - "py_rsrc_gaddr", "Internal\n", py_rsrc_gaddr + "py_rsrc_gaddr", "Internal\n", py_rsrc_gaddr, + + /* AES Window Library */ + "py_wind_create", "Internal\n", py_wind_create, + "py_wind_open", "Internal\n", py_wind_open, + "py_wind_get", "Internal\n", py_wind_get, + "py_wind_delete", "Internal\n", py_wind_delete, + "py_wind_close", "Internal\n", py_wind_close }; LDGLIB LibLdg[] = { - 0x0001, 8, LibFunc, "GEM Extensions for Python", 0 + 0x0001, 13, LibFunc, "GEM Extensions for Python", 0 }; int main( void) |
