Menu

[r760]: / trunk / lispbuilder-opengl / build / openglextswig.i  Maximize  Restore  History

Download this file

45 lines (35 with data), 962 Bytes

 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
33
34
35
36
37
38
39
40
41
42
43
44
%insert("lisphead")
%{
;;;; gl.h Mesa v6.4.2 CFFI lisp wrapper
;;;; Part of the CL-Gardeners project
;;;; http://wiki.alu.org/Application_Builder
;;;; (C)2006 Luke J Crook
;;;; See COPYING for license
;;;; Note: (1) "gl.h" contains a LOT of typedef void (APIENTRYP blah blah blah) and
;;;; none of these are yet defined.
(in-package #:lispbuilder-opengl-ext)
(defctype GLenum :unsigned-int)
(defctype GLboolean :unsigned-char)
(defctype GLbitfield :unsigned-char)
(defctype GLvoid :void)
(defctype GLbyte :uint8)
(defctype GLshort :short)
(defctype GLint :int)
(defctype GLubyte :unsigned-char)
(defctype GLushort :unsigned-short)
(defctype GLuint :unsigned-int)
(defctype GLsizei :int)
(defctype GLfloat :float)
(defctype GLclampf :float)
(defctype GLdouble :double)
(defctype GLclampd :double)
%}
%module gl_ext
%{
#include "gl.h"
#define GL_GLEXT_PROTOTYPES
#include "glext.h"
%}
%ignore APIENTRYP;
%ignore GLAPIENTRYP;
%include "glext.h"
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.