Sha256: 77065e720381ccf3da208f6db88afb2cb42fe9bb067c76b5c48a5abc5432f2f4

Contents?: true

Size: 802 Bytes

Versions: 3

Compression:

Stored size: 802 Bytes

Contents

%module opengl

%{
module GLUT
  extend FFI::Library
%}

/*
 * Datatypes
 */
typedef unsigned int	GLenum;
typedef unsigned char	GLboolean;
typedef unsigned int	GLbitfield;
typedef void		GLvoid;
typedef signed char	GLbyte;		/* 1-byte signed */
typedef short		GLshort;	/* 2-byte signed */
typedef int		GLint;		/* 4-byte signed */
typedef unsigned char	GLubyte;	/* 1-byte unsigned */
typedef unsigned short	GLushort;	/* 2-byte unsigned */
typedef unsigned int	GLuint;		/* 4-byte unsigned */
typedef int		GLsizei;	/* 4-byte signed */
typedef float		GLfloat;	/* single precision float */
typedef float		GLclampf;	/* single precision float in [0,1] */
typedef double		GLdouble;	/* double precision float */
typedef double		GLclampd;	/* double precision float in [0,1] */


%include freeglut_std.h

%{
end
%}

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
remogatto-ffi-opengl-0.2.0 interfaces/glut.i
remogatto-ffi-opengl-0.2.1 interfaces/glut.i
ffi-opengl-0.2.1 interfaces/glut.i