summaryrefslogtreecommitdiffstats
path: root/lib/efl/evas/evas_gl-ffi.rb
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2011-04-20 16:49:36 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2011-04-20 16:49:36 +0200
commitd37c4333c4eb1a7d659fd45c05b7fa02ee7c0172 (patch)
tree33ba3e7106b6865e5b9cab98ffa54c2ddb1a97e3 /lib/efl/evas/evas_gl-ffi.rb
parent7c9a24a14a2c7b5ea9b3f000dad087a939a7ad0d (diff)
downloadffi-efl-d37c4333c4eb1a7d659fd45c05b7fa02ee7c0172.zip
ffi-efl-d37c4333c4eb1a7d659fd45c05b7fa02ee7c0172.tar.gz
regenerate bindings
Diffstat (limited to 'lib/efl/evas/evas_gl-ffi.rb')
-rw-r--r--lib/efl/evas/evas_gl-ffi.rb72
1 files changed, 0 insertions, 72 deletions
diff --git a/lib/efl/evas/evas_gl-ffi.rb b/lib/efl/evas/evas_gl-ffi.rb
deleted file mode 100644
index fce7814..0000000
--- a/lib/efl/evas/evas_gl-ffi.rb
+++ /dev/null
@@ -1,72 +0,0 @@
-#! /usr/bin/env ruby
-# -*- coding: UTF-8 -*-
-#
-require 'efl/ffi'
-#
-module Efl
- #
- module Evasgl
- def self.method_missing m, *args, &block
- return Efl::API.send 'evas_gl_'+m.to_s, *args, &block
- end
- end
- #
- module API
- #
- #
- ffi_lib 'evas'
- #
- # ENUMS
- # typedef enum _Evas_GL_Color_Format {...} Evas_GL_Color_Format;
- enum :evas_gl_color_format, [ :evas_gl_rgb_8, :evas_gl_rgba_8, :evas_gl_rgb_32, :evas_gl_rgba_32 ]
- # typedef enum _Evas_GL_Depth_Bits {...} Evas_GL_Depth_Bits;
- enum :evas_gl_depth_bits, [ :evas_gl_depth_bit_8, :evas_gl_depth_bit_16, :evas_gl_depth_bit_24, :evas_gl_depth_bit_32, :evas_gl_depth_none ]
- # typedef enum _Evas_GL_Stencil_Bits {...} Evas_GL_Stencil_Bits;
- enum :evas_gl_stencil_bits, [ :evas_gl_stencil_bit_1, :evas_gl_stencil_bit_2, :evas_gl_stencil_bit_4, :evas_gl_stencil_bit_8,
- :evas_gl_stencil_bit_16, :evas_gl_stencil_none ]
- #
- # TYPEDEFS
- # typedef struct _Evas_GL Evas_GL;
- typedef :pointer, :evas_gl
- typedef :pointer, :evas_gl_p
- # typedef struct _Evas_GL_Surface Evas_GL_Surface;
- typedef :pointer, :evas_gl_surface
- typedef :pointer, :evas_gl_surface_p
- # typedef struct _Evas_GL_Context Evas_GL_Context;
- typedef :pointer, :evas_gl_context
- typedef :pointer, :evas_gl_context_p
- # typedef struct _Evas_GL_Config Evas_GL_Config;
- typedef :pointer, :evas_gl_config
- typedef :pointer, :evas_gl_config_p
- # typedef void* Evas_GL_Func;
- typedef :void*, :evas_gl_func
- #
- # CALLBACKS
- #
- # FUNCTIONS
- fcts = [
- # EAPI Evas_GL *evas_gl_new (Evas *e) EINA_WARN_UNUSED_RESULT;
- [ :evas_gl_new, [ :evas_p ], :evas_gl_p ],
- # EAPI void evas_gl_free (Evas_GL *evas_gl);
- [ :evas_gl_free, [ :evas_gl_p ], :void ],
- # EAPI Evas_GL_Surface *evas_gl_surface_create (Evas_GL *evas_gl, Evas_GL_Config *cfg, int w, int h) EINA_WARN_UNUSED_RESULT;
- [ :evas_gl_surface_create, [ :evas_gl_p, :evas_gl_config_p, :int, :int ], :evas_gl_surface_p ],
- # EAPI void evas_gl_surface_destroy (Evas_GL *evas_gl, Evas_GL_Surface *surf);
- [ :evas_gl_surface_destroy, [ :evas_gl_p, :evas_gl_surface_p ], :void ],
- # EAPI Evas_GL_Context *evas_gl_context_create (Evas_GL *evas_gl, Evas_GL_Context *share_ctx) EINA_WARN_UNUSED_RESULT;
- [ :evas_gl_context_create, [ :evas_gl_p, :evas_gl_context_p ], :evas_gl_context_p ],
- # EAPI void evas_gl_context_destroy (Evas_GL *evas_gl, Evas_GL_Context *ctx);
- [ :evas_gl_context_destroy, [ :evas_gl_p, :evas_gl_context_p ], :void ],
- # EAPI Eina_Bool evas_gl_make_current (Evas_GL *evas_gl, Evas_GL_Surface *surf, Evas_GL_Context *ctx);
- [ :evas_gl_make_current, [ :evas_gl_p, :evas_gl_surface_p, :evas_gl_context_p ], :eina_bool ],
- # EAPI Evas_GL_Func evas_gl_proc_address_get (Evas_GL *evas_gl, const char *name) EINA_WARN_UNUSED_RESULT;
- [ :evas_gl_proc_address_get, [ :evas_gl_p, :string ], :void* ],
- # EAPI Eina_Bool evas_gl_native_surface_get (Evas_GL *evas_gl, Evas_GL_Surface *surf, Evas_Native_Surface *ns);
- [ :evas_gl_native_surface_get, [ :evas_gl_p, :evas_gl_surface_p, :evas_native_surface_p ], :eina_bool ],
- ]
- #
- attach_fcts fcts
- end
-end
-#
-# EOF