File: smaplib.i

package info (click to toggle)
mgltools-opengltk 1.5.7-1
  • links: PTS, VCS
  • area: non-free
  • in suites: stretch
  • size: 8,592 kB
  • ctags: 38,393
  • sloc: ansic: 98,617; python: 3,818; cpp: 1,943; sh: 1,332; tcl: 1,127; makefile: 65
file content (32 lines) | stat: -rw-r--r-- 692 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/*
 * copyright_notice
 */

%{
#include <assert.h>
#include <stdlib.h>
#include <string.h>
#ifdef _MSC_VER
# include <windows.h>
#endif
#include <GL/gl.h>
#include <GL/glsmap.h>
#include <pythonplus.h>
#include "callback.h"
#include "opengltk.h"
%}

%include typemaps.i
%include gltypedef.i
%include gltypemap.i
%include glexception.i

void smapSetPositionLightsFunc( SphereMap* smap,
				void_int_voidstar_f positionLights);
void smapSetDrawViewFunc( SphereMap* smap,
			  void_int_voidstar_f drawView);
void smapGetPositionLightsFunc( SphereMap* smap,
				void_int_voidstar_f* positionLights);
void smapGetDrawViewFunc( SphereMap* smap, void_int_voidstar_f* drawView);

%include "smap_i.h"