pike.git / src / post_modules / GL / top.c

version» Context lines:

pike.git/src/post_modules/GL/top.c:1:   /* -  * $Id: top.c,v 1.12 2000/07/28 07:16:09 hubbe Exp $ +  * $Id: top.c,v 1.13 2000/12/01 08:10:40 hubbe Exp $    *    */      #include "config.h"      #ifdef HAVE_GL      #ifdef HAVE_WINDEF_H   #include <windef.h>   #endif /* HAVE_WINDEF_H */
pike.git/src/post_modules/GL/top.c:19:   #ifdef HAVE_GL_GLX_H   #include <GL/glx.h>   #endif /* HAVE_GL_GLX_H */      #endif /* HAVE_GL */      #include "module_magic.h"      #include "global.h"    - RCSID("$Id: top.c,v 1.12 2000/07/28 07:16:09 hubbe Exp $"); + RCSID("$Id: top.c,v 1.13 2000/12/01 08:10:40 hubbe Exp $");   #include "stralloc.h"   #include "pike_macros.h"   #include "object.h"   #include "program.h"   #include "interpret.h"   #include "builtin_functions.h"   #include "module_support.h" - #include "error.h" + #include "pike_error.h"      #ifdef HAVE_GL      static void f_glGet(INT32 args)   {    INT32 arg1;    GLint i, i2[4];    GLboolean b[4];    GLfloat f[16];   
pike.git/src/post_modules/GL/top.c:356: Inside #if defined(HAVE_GL)
   push_float(f[10]);    push_float(f[11]);    push_float(f[12]);    push_float(f[13]);    push_float(f[14]);    push_float(f[15]);    f_aggregate(16);    break;       default: -  error("glGet: Unsupported parameter name\n"); +  Pike_error("glGet: Unsupported parameter name\n");    }   }      #endif /* HAVE_GL */         void pike_module_init( void )   {   #ifdef HAVE_GL    extern void GL_add_auto_funcs(void);