File: rbogl.h

package info (click to toggle)
libopengl-ruby 0.32f-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 640 kB
  • ctags: 595
  • sloc: ansic: 7,323; ruby: 3,966; makefile: 64
file content (24 lines) | stat: -rw-r--r-- 492 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*
 * $Date: 2000/01/06 16:37:43 $
 * $Author: kusano $
 */
#ifndef _RBOGL_H_
#define _RBOGL_H_

#include "ruby.h"

typedef struct RArray RArray;
extern VALUE cProc;
int ary2cint(VALUE, int[], int);
int ary2cdbl(VALUE, double[], int);
int ary2cflt(VALUE, float[], int);
void mary2ary(VALUE, VALUE);
void ary2cmat4x4(VALUE, double[]);
VALUE allocate_buffer_with_string(int);
#ifndef NUM2DBL
double num2double(VALUE);
#define _NO_NUM2DBL_
#define NUM2DBL(_val) num2double(_val) 
#endif

#endif