From 7296393f62ce4967041f126cd2260557e7e00f3c Mon Sep 17 00:00:00 2001 From: _Tradam Date: Tue, 5 Apr 2022 16:02:38 -0400 Subject: autogenned --- include/mruby-raylib/core.h | 14 -------------- include/mruby-raylib/text.h | 12 ------------ include/mruby-raylib/textures.h | 11 ----------- include/mruby-raylib/types.h | 31 ------------------------------- 4 files changed, 68 deletions(-) delete mode 100644 include/mruby-raylib/core.h delete mode 100644 include/mruby-raylib/text.h delete mode 100644 include/mruby-raylib/textures.h delete mode 100644 include/mruby-raylib/types.h (limited to 'include') diff --git a/include/mruby-raylib/core.h b/include/mruby-raylib/core.h deleted file mode 100644 index c0e6815..0000000 --- a/include/mruby-raylib/core.h +++ /dev/null @@ -1,14 +0,0 @@ -#ifndef MRUBY_RAYLIB_CORE_H -#define MRUBY_RAYLIB_CORE_H -#include "mruby-raylib/types.h" -#include -#include -#include -#if defined(PLATFORM_WEB) -#include -#endif - -void mrb_init_raylib_core(mrb_state*); - -#endif /* end of include guard MRUBY_RAYLIB_CORE_H */ - diff --git a/include/mruby-raylib/text.h b/include/mruby-raylib/text.h deleted file mode 100644 index 19b7a8d..0000000 --- a/include/mruby-raylib/text.h +++ /dev/null @@ -1,12 +0,0 @@ -#ifndef MRUBY_RAYLIB_TEXT_H -#define MRUBY_RAYLIB_TEXT_H -#include "mruby-raylib/types.h" -#include -#include -#include -#include - -void mrb_init_raylib_text(mrb_state*); - -#endif /* end of include guard TEXT_H */ - diff --git a/include/mruby-raylib/textures.h b/include/mruby-raylib/textures.h deleted file mode 100644 index 2833117..0000000 --- a/include/mruby-raylib/textures.h +++ /dev/null @@ -1,11 +0,0 @@ -#ifndef MRUBY_RAYLIB_TEXTURES_H -#define MRUBY_RAYLIB_TEXTURES_H -#include "mruby-raylib/types.h" -#include -#include -#include -#include - -void mrb_init_raylib_textures(mrb_state*); - -#endif diff --git a/include/mruby-raylib/types.h b/include/mruby-raylib/types.h deleted file mode 100644 index 3052ec5..0000000 --- a/include/mruby-raylib/types.h +++ /dev/null @@ -1,31 +0,0 @@ -#ifndef MRUBY_RAYLIB_TYPES_H -#define MRUBY_RAYLIB_TYPES_H -#include -#include - -#define PREWRAPSTRUCT(var_name, type, target) var_name = (type *)DATA_PTR(target) - -#define WRAPSTRUCT(type, mrb_type, target, var_name) \ - PREWRAPSTRUCT(var_name, type, target);\ - if(var_name) { mrb_free(mrb, var_name); }\ - mrb_data_init(target, NULL, &mrb_type);\ - var_name = (type *)mrb_malloc(mrb, sizeof(type));\ - -#define UNWRAPSTRUCT(type, mrb_type, target, var_name) var_name = DATA_GET_PTR(mrb, target, &mrb_type, type) - -extern const struct mrb_data_type Color_type; -extern const struct mrb_data_type Rectangle_type; -extern const struct mrb_data_type Texture_type; -extern const struct mrb_data_type Sound_type; -extern const struct mrb_data_type Music_type; -extern const struct mrb_data_type Vector2_type; -extern const struct mrb_data_type NPatchInfo_type; -extern const struct mrb_data_type Font_type; - -void helper_texture_free(mrb_state*, void*); -void helper_sound_free(mrb_state*, void*); -void helper_music_free(mrb_state*, void*); -void helper_font_free(mrb_state*, void*); - -#endif /* end of include guard MRUBY_RAYLIB_TYPES_H */ - -- cgit v1.2.3