rubygl 0.2.1 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/Gemfile.lock +2 -0
- data/README.md +1 -1
- data/Rakefile +17 -9
- data/bin/ffi_code_gen.rb +11 -3
- data/ext/macosx/RubyGL.so +0 -0
- data/ext/macosx/SDL2.framework/Headers/SDL.h +163 -0
- data/ext/macosx/SDL2.framework/Headers/SDL_assert.h +284 -0
- data/ext/macosx/SDL2.framework/Headers/SDL_atomic.h +260 -0
- data/ext/macosx/SDL2.framework/Headers/SDL_audio.h +506 -0
- data/ext/macosx/SDL2.framework/Headers/SDL_bits.h +97 -0
- data/ext/macosx/SDL2.framework/Headers/SDL_blendmode.h +63 -0
- data/ext/macosx/SDL2.framework/Headers/SDL_clipboard.h +71 -0
- data/ext/macosx/SDL2.framework/Headers/SDL_config.h +55 -0
- data/ext/macosx/SDL2.framework/Headers/SDL_config_macosx.h +184 -0
- data/ext/macosx/SDL2.framework/Headers/SDL_copying.h +20 -0
- data/ext/macosx/SDL2.framework/Headers/SDL_cpuinfo.h +156 -0
- data/ext/macosx/SDL2.framework/Headers/SDL_endian.h +239 -0
- data/ext/macosx/SDL2.framework/Headers/SDL_error.h +76 -0
- data/ext/macosx/SDL2.framework/Headers/SDL_events.h +723 -0
- data/ext/macosx/SDL2.framework/Headers/SDL_filesystem.h +136 -0
- data/ext/macosx/SDL2.framework/Headers/SDL_gamecontroller.h +316 -0
- data/ext/macosx/SDL2.framework/Headers/SDL_gesture.h +87 -0
- data/ext/macosx/SDL2.framework/Headers/SDL_haptic.h +1225 -0
- data/ext/macosx/SDL2.framework/Headers/SDL_hints.h +517 -0
- data/ext/macosx/SDL2.framework/Headers/SDL_joystick.h +253 -0
- data/ext/macosx/SDL2.framework/Headers/SDL_keyboard.h +217 -0
- data/ext/macosx/SDL2.framework/Headers/SDL_keycode.h +341 -0
- data/ext/macosx/SDL2.framework/Headers/SDL_loadso.h +81 -0
- data/ext/macosx/SDL2.framework/Headers/SDL_log.h +211 -0
- data/ext/macosx/SDL2.framework/Headers/SDL_main.h +155 -0
- data/ext/macosx/SDL2.framework/Headers/SDL_messagebox.h +144 -0
- data/ext/macosx/SDL2.framework/Headers/SDL_mouse.h +224 -0
- data/ext/macosx/SDL2.framework/Headers/SDL_mutex.h +251 -0
- data/ext/macosx/SDL2.framework/Headers/SDL_name.h +33 -0
- data/ext/macosx/SDL2.framework/Headers/SDL_opengl.h +11126 -0
- data/ext/macosx/SDL2.framework/Headers/SDL_opengles.h +38 -0
- data/ext/macosx/SDL2.framework/Headers/SDL_opengles2.h +2790 -0
- data/ext/macosx/SDL2.framework/Headers/SDL_pixels.h +429 -0
- data/ext/macosx/SDL2.framework/Headers/SDL_platform.h +164 -0
- data/ext/macosx/SDL2.framework/Headers/SDL_power.h +75 -0
- data/ext/macosx/SDL2.framework/Headers/SDL_quit.h +58 -0
- data/ext/macosx/SDL2.framework/Headers/SDL_rect.h +138 -0
- data/ext/macosx/SDL2.framework/Headers/SDL_render.h +870 -0
- data/ext/macosx/SDL2.framework/Headers/SDL_revision.h +2 -0
- data/ext/macosx/SDL2.framework/Headers/SDL_rwops.h +232 -0
- data/ext/macosx/SDL2.framework/Headers/SDL_scancode.h +401 -0
- data/ext/macosx/SDL2.framework/Headers/SDL_shape.h +143 -0
- data/ext/macosx/SDL2.framework/Headers/SDL_stdinc.h +405 -0
- data/ext/macosx/SDL2.framework/Headers/SDL_surface.h +503 -0
- data/ext/macosx/SDL2.framework/Headers/SDL_system.h +191 -0
- data/ext/macosx/SDL2.framework/Headers/SDL_syswm.h +272 -0
- data/ext/macosx/SDL2.framework/Headers/SDL_thread.h +287 -0
- data/ext/macosx/SDL2.framework/Headers/SDL_timer.h +115 -0
- data/ext/macosx/SDL2.framework/Headers/SDL_touch.h +86 -0
- data/ext/macosx/SDL2.framework/Headers/SDL_types.h +29 -0
- data/ext/macosx/SDL2.framework/Headers/SDL_version.h +162 -0
- data/ext/macosx/SDL2.framework/Headers/SDL_video.h +979 -0
- data/ext/macosx/SDL2.framework/Headers/begin_code.h +140 -0
- data/ext/macosx/SDL2.framework/Headers/close_code.h +37 -0
- data/ext/macosx/SDL2.framework/Resources/Info.plist +42 -0
- data/ext/macosx/SDL2.framework/SDL2 +0 -0
- data/ext/macosx/SDL2.framework/Versions/A/Headers/SDL.h +163 -0
- data/ext/macosx/SDL2.framework/Versions/A/Headers/SDL_assert.h +284 -0
- data/ext/macosx/SDL2.framework/Versions/A/Headers/SDL_atomic.h +260 -0
- data/ext/macosx/SDL2.framework/Versions/A/Headers/SDL_audio.h +506 -0
- data/ext/macosx/SDL2.framework/Versions/A/Headers/SDL_bits.h +97 -0
- data/ext/macosx/SDL2.framework/Versions/A/Headers/SDL_blendmode.h +63 -0
- data/ext/macosx/SDL2.framework/Versions/A/Headers/SDL_clipboard.h +71 -0
- data/ext/macosx/SDL2.framework/Versions/A/Headers/SDL_config.h +55 -0
- data/ext/macosx/SDL2.framework/Versions/A/Headers/SDL_config_macosx.h +184 -0
- data/ext/macosx/SDL2.framework/Versions/A/Headers/SDL_copying.h +20 -0
- data/ext/macosx/SDL2.framework/Versions/A/Headers/SDL_cpuinfo.h +156 -0
- data/ext/macosx/SDL2.framework/Versions/A/Headers/SDL_endian.h +239 -0
- data/ext/macosx/SDL2.framework/Versions/A/Headers/SDL_error.h +76 -0
- data/ext/macosx/SDL2.framework/Versions/A/Headers/SDL_events.h +723 -0
- data/ext/macosx/SDL2.framework/Versions/A/Headers/SDL_filesystem.h +136 -0
- data/ext/macosx/SDL2.framework/Versions/A/Headers/SDL_gamecontroller.h +316 -0
- data/ext/macosx/SDL2.framework/Versions/A/Headers/SDL_gesture.h +87 -0
- data/ext/macosx/SDL2.framework/Versions/A/Headers/SDL_haptic.h +1225 -0
- data/ext/macosx/SDL2.framework/Versions/A/Headers/SDL_hints.h +517 -0
- data/ext/macosx/SDL2.framework/Versions/A/Headers/SDL_joystick.h +253 -0
- data/ext/macosx/SDL2.framework/Versions/A/Headers/SDL_keyboard.h +217 -0
- data/ext/macosx/SDL2.framework/Versions/A/Headers/SDL_keycode.h +341 -0
- data/ext/macosx/SDL2.framework/Versions/A/Headers/SDL_loadso.h +81 -0
- data/ext/macosx/SDL2.framework/Versions/A/Headers/SDL_log.h +211 -0
- data/ext/macosx/SDL2.framework/Versions/A/Headers/SDL_main.h +155 -0
- data/ext/macosx/SDL2.framework/Versions/A/Headers/SDL_messagebox.h +144 -0
- data/ext/macosx/SDL2.framework/Versions/A/Headers/SDL_mouse.h +224 -0
- data/ext/macosx/SDL2.framework/Versions/A/Headers/SDL_mutex.h +251 -0
- data/ext/macosx/SDL2.framework/Versions/A/Headers/SDL_name.h +33 -0
- data/ext/macosx/SDL2.framework/Versions/A/Headers/SDL_opengl.h +11126 -0
- data/ext/macosx/SDL2.framework/Versions/A/Headers/SDL_opengles.h +38 -0
- data/ext/macosx/SDL2.framework/Versions/A/Headers/SDL_opengles2.h +2790 -0
- data/ext/macosx/SDL2.framework/Versions/A/Headers/SDL_pixels.h +429 -0
- data/ext/macosx/SDL2.framework/Versions/A/Headers/SDL_platform.h +164 -0
- data/ext/macosx/SDL2.framework/Versions/A/Headers/SDL_power.h +75 -0
- data/ext/macosx/SDL2.framework/Versions/A/Headers/SDL_quit.h +58 -0
- data/ext/macosx/SDL2.framework/Versions/A/Headers/SDL_rect.h +138 -0
- data/ext/macosx/SDL2.framework/Versions/A/Headers/SDL_render.h +870 -0
- data/ext/macosx/SDL2.framework/Versions/A/Headers/SDL_revision.h +2 -0
- data/ext/macosx/SDL2.framework/Versions/A/Headers/SDL_rwops.h +232 -0
- data/ext/macosx/SDL2.framework/Versions/A/Headers/SDL_scancode.h +401 -0
- data/ext/macosx/SDL2.framework/Versions/A/Headers/SDL_shape.h +143 -0
- data/ext/macosx/SDL2.framework/Versions/A/Headers/SDL_stdinc.h +405 -0
- data/ext/macosx/SDL2.framework/Versions/A/Headers/SDL_surface.h +503 -0
- data/ext/macosx/SDL2.framework/Versions/A/Headers/SDL_system.h +191 -0
- data/ext/macosx/SDL2.framework/Versions/A/Headers/SDL_syswm.h +272 -0
- data/ext/macosx/SDL2.framework/Versions/A/Headers/SDL_thread.h +287 -0
- data/ext/macosx/SDL2.framework/Versions/A/Headers/SDL_timer.h +115 -0
- data/ext/macosx/SDL2.framework/Versions/A/Headers/SDL_touch.h +86 -0
- data/ext/macosx/SDL2.framework/Versions/A/Headers/SDL_types.h +29 -0
- data/ext/macosx/SDL2.framework/Versions/A/Headers/SDL_version.h +162 -0
- data/ext/macosx/SDL2.framework/Versions/A/Headers/SDL_video.h +979 -0
- data/ext/macosx/SDL2.framework/Versions/A/Headers/begin_code.h +140 -0
- data/ext/macosx/SDL2.framework/Versions/A/Headers/close_code.h +37 -0
- data/ext/macosx/SDL2.framework/Versions/A/Resources/Info.plist +42 -0
- data/ext/macosx/SDL2.framework/Versions/A/SDL2 +0 -0
- data/ext/macosx/SDL2.framework/Versions/A/_CodeSignature/CodeResources +331 -0
- data/ext/macosx/SDL2.framework/Versions/Current/Headers/SDL.h +163 -0
- data/ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_assert.h +284 -0
- data/ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_atomic.h +260 -0
- data/ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_audio.h +506 -0
- data/ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_bits.h +97 -0
- data/ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_blendmode.h +63 -0
- data/ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_clipboard.h +71 -0
- data/ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_config.h +55 -0
- data/ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_config_macosx.h +184 -0
- data/ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_copying.h +20 -0
- data/ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_cpuinfo.h +156 -0
- data/ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_endian.h +239 -0
- data/ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_error.h +76 -0
- data/ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_events.h +723 -0
- data/ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_filesystem.h +136 -0
- data/ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_gamecontroller.h +316 -0
- data/ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_gesture.h +87 -0
- data/ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_haptic.h +1225 -0
- data/ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_hints.h +517 -0
- data/ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_joystick.h +253 -0
- data/ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_keyboard.h +217 -0
- data/ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_keycode.h +341 -0
- data/ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_loadso.h +81 -0
- data/ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_log.h +211 -0
- data/ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_main.h +155 -0
- data/ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_messagebox.h +144 -0
- data/ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_mouse.h +224 -0
- data/ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_mutex.h +251 -0
- data/ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_name.h +33 -0
- data/ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_opengl.h +11126 -0
- data/ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_opengles.h +38 -0
- data/ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_opengles2.h +2790 -0
- data/ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_pixels.h +429 -0
- data/ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_platform.h +164 -0
- data/ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_power.h +75 -0
- data/ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_quit.h +58 -0
- data/ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_rect.h +138 -0
- data/ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_render.h +870 -0
- data/ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_revision.h +2 -0
- data/ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_rwops.h +232 -0
- data/ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_scancode.h +401 -0
- data/ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_shape.h +143 -0
- data/ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_stdinc.h +405 -0
- data/ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_surface.h +503 -0
- data/ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_system.h +191 -0
- data/ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_syswm.h +272 -0
- data/ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_thread.h +287 -0
- data/ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_timer.h +115 -0
- data/ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_touch.h +86 -0
- data/ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_types.h +29 -0
- data/ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_version.h +162 -0
- data/ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_video.h +979 -0
- data/ext/macosx/SDL2.framework/Versions/Current/Headers/begin_code.h +140 -0
- data/ext/macosx/SDL2.framework/Versions/Current/Headers/close_code.h +37 -0
- data/ext/macosx/SDL2.framework/Versions/Current/Resources/Info.plist +42 -0
- data/ext/macosx/SDL2.framework/Versions/Current/SDL2 +0 -0
- data/ext/macosx/SDL2.framework/Versions/Current/_CodeSignature/CodeResources +331 -0
- data/ext/windows/RubyGL.so +0 -0
- data/lib/rubygl/native/opengl.rb +1052 -1044
- data/lib/rubygl/setup.rb +7 -4
- data/lib/rubygl.rb +12 -4
- data/rubygl.gemspec +3 -2
- metadata +174 -3
@@ -0,0 +1,140 @@
|
|
1
|
+
/*
|
2
|
+
Simple DirectMedia Layer
|
3
|
+
Copyright (C) 1997-2014 Sam Lantinga <slouken@libsdl.org>
|
4
|
+
|
5
|
+
This software is provided 'as-is', without any express or implied
|
6
|
+
warranty. In no event will the authors be held liable for any damages
|
7
|
+
arising from the use of this software.
|
8
|
+
|
9
|
+
Permission is granted to anyone to use this software for any purpose,
|
10
|
+
including commercial applications, and to alter it and redistribute it
|
11
|
+
freely, subject to the following restrictions:
|
12
|
+
|
13
|
+
1. The origin of this software must not be misrepresented; you must not
|
14
|
+
claim that you wrote the original software. If you use this software
|
15
|
+
in a product, an acknowledgment in the product documentation would be
|
16
|
+
appreciated but is not required.
|
17
|
+
2. Altered source versions must be plainly marked as such, and must not be
|
18
|
+
misrepresented as being the original software.
|
19
|
+
3. This notice may not be removed or altered from any source distribution.
|
20
|
+
*/
|
21
|
+
|
22
|
+
/**
|
23
|
+
* \file begin_code.h
|
24
|
+
*
|
25
|
+
* This file sets things up for C dynamic library function definitions,
|
26
|
+
* static inlined functions, and structures aligned at 4-byte alignment.
|
27
|
+
* If you don't like ugly C preprocessor code, don't look at this file. :)
|
28
|
+
*/
|
29
|
+
|
30
|
+
/* This shouldn't be nested -- included it around code only. */
|
31
|
+
#ifdef _begin_code_h
|
32
|
+
#error Nested inclusion of begin_code.h
|
33
|
+
#endif
|
34
|
+
#define _begin_code_h
|
35
|
+
|
36
|
+
#ifndef SDL_DEPRECATED
|
37
|
+
# if (__GNUC__ >= 4) /* technically, this arrived in gcc 3.1, but oh well. */
|
38
|
+
# define SDL_DEPRECATED __attribute__((deprecated))
|
39
|
+
# else
|
40
|
+
# define SDL_DEPRECATED
|
41
|
+
# endif
|
42
|
+
#endif
|
43
|
+
|
44
|
+
/* Some compilers use a special export keyword */
|
45
|
+
#ifndef DECLSPEC
|
46
|
+
# if defined(__WIN32__) || defined(__WINRT__)
|
47
|
+
# ifdef __BORLANDC__
|
48
|
+
# ifdef BUILD_SDL
|
49
|
+
# define DECLSPEC
|
50
|
+
# else
|
51
|
+
# define DECLSPEC __declspec(dllimport)
|
52
|
+
# endif
|
53
|
+
# else
|
54
|
+
# define DECLSPEC __declspec(dllexport)
|
55
|
+
# endif
|
56
|
+
# else
|
57
|
+
# if defined(__GNUC__) && __GNUC__ >= 4
|
58
|
+
# define DECLSPEC __attribute__ ((visibility("default")))
|
59
|
+
# elif defined(__GNUC__) && __GNUC__ >= 2
|
60
|
+
# define DECLSPEC __declspec(dllexport)
|
61
|
+
# else
|
62
|
+
# define DECLSPEC
|
63
|
+
# endif
|
64
|
+
# endif
|
65
|
+
#endif
|
66
|
+
|
67
|
+
/* By default SDL uses the C calling convention */
|
68
|
+
#ifndef SDLCALL
|
69
|
+
#if (defined(__WIN32__) || defined(__WINRT__)) && !defined(__GNUC__)
|
70
|
+
#define SDLCALL __cdecl
|
71
|
+
#else
|
72
|
+
#define SDLCALL
|
73
|
+
#endif
|
74
|
+
#endif /* SDLCALL */
|
75
|
+
|
76
|
+
/* Removed DECLSPEC on Symbian OS because SDL cannot be a DLL in EPOC */
|
77
|
+
#ifdef __SYMBIAN32__
|
78
|
+
#undef DECLSPEC
|
79
|
+
#define DECLSPEC
|
80
|
+
#endif /* __SYMBIAN32__ */
|
81
|
+
|
82
|
+
/* Force structure packing at 4 byte alignment.
|
83
|
+
This is necessary if the header is included in code which has structure
|
84
|
+
packing set to an alternate value, say for loading structures from disk.
|
85
|
+
The packing is reset to the previous value in close_code.h
|
86
|
+
*/
|
87
|
+
#if defined(_MSC_VER) || defined(__MWERKS__) || defined(__BORLANDC__)
|
88
|
+
#ifdef _MSC_VER
|
89
|
+
#pragma warning(disable: 4103)
|
90
|
+
#endif
|
91
|
+
#ifdef __BORLANDC__
|
92
|
+
#pragma nopackwarning
|
93
|
+
#endif
|
94
|
+
#ifdef _M_X64
|
95
|
+
/* Use 8-byte alignment on 64-bit architectures, so pointers are aligned */
|
96
|
+
#pragma pack(push,8)
|
97
|
+
#else
|
98
|
+
#pragma pack(push,4)
|
99
|
+
#endif
|
100
|
+
#endif /* Compiler needs structure packing set */
|
101
|
+
|
102
|
+
#ifndef SDL_INLINE
|
103
|
+
#if defined(__GNUC__)
|
104
|
+
#define SDL_INLINE __inline__
|
105
|
+
#elif defined(_MSC_VER) || defined(__BORLANDC__) || \
|
106
|
+
defined(__DMC__) || defined(__SC__) || \
|
107
|
+
defined(__WATCOMC__) || defined(__LCC__) || \
|
108
|
+
defined(__DECC)
|
109
|
+
#define SDL_INLINE __inline
|
110
|
+
#ifndef __inline__
|
111
|
+
#define __inline__ __inline
|
112
|
+
#endif
|
113
|
+
#else
|
114
|
+
#define SDL_INLINE inline
|
115
|
+
#ifndef __inline__
|
116
|
+
#define __inline__ inline
|
117
|
+
#endif
|
118
|
+
#endif
|
119
|
+
#endif /* SDL_INLINE not defined */
|
120
|
+
|
121
|
+
#ifndef SDL_FORCE_INLINE
|
122
|
+
#if defined(_MSC_VER)
|
123
|
+
#define SDL_FORCE_INLINE __forceinline
|
124
|
+
#elif ( (defined(__GNUC__) && (__GNUC__ >= 4)) || defined(__clang__) )
|
125
|
+
#define SDL_FORCE_INLINE __attribute__((always_inline)) static __inline__
|
126
|
+
#else
|
127
|
+
#define SDL_FORCE_INLINE static SDL_INLINE
|
128
|
+
#endif
|
129
|
+
#endif /* SDL_FORCE_INLINE not defined */
|
130
|
+
|
131
|
+
/* Apparently this is needed by several Windows compilers */
|
132
|
+
#if !defined(__MACH__)
|
133
|
+
#ifndef NULL
|
134
|
+
#ifdef __cplusplus
|
135
|
+
#define NULL 0
|
136
|
+
#else
|
137
|
+
#define NULL ((void *)0)
|
138
|
+
#endif
|
139
|
+
#endif /* NULL */
|
140
|
+
#endif /* ! Mac OS X - breaks precompiled headers */
|
@@ -0,0 +1,37 @@
|
|
1
|
+
/*
|
2
|
+
Simple DirectMedia Layer
|
3
|
+
Copyright (C) 1997-2014 Sam Lantinga <slouken@libsdl.org>
|
4
|
+
|
5
|
+
This software is provided 'as-is', without any express or implied
|
6
|
+
warranty. In no event will the authors be held liable for any damages
|
7
|
+
arising from the use of this software.
|
8
|
+
|
9
|
+
Permission is granted to anyone to use this software for any purpose,
|
10
|
+
including commercial applications, and to alter it and redistribute it
|
11
|
+
freely, subject to the following restrictions:
|
12
|
+
|
13
|
+
1. The origin of this software must not be misrepresented; you must not
|
14
|
+
claim that you wrote the original software. If you use this software
|
15
|
+
in a product, an acknowledgment in the product documentation would be
|
16
|
+
appreciated but is not required.
|
17
|
+
2. Altered source versions must be plainly marked as such, and must not be
|
18
|
+
misrepresented as being the original software.
|
19
|
+
3. This notice may not be removed or altered from any source distribution.
|
20
|
+
*/
|
21
|
+
|
22
|
+
/**
|
23
|
+
* \file close_code.h
|
24
|
+
*
|
25
|
+
* This file reverses the effects of begin_code.h and should be included
|
26
|
+
* after you finish any function and structure declarations in your headers
|
27
|
+
*/
|
28
|
+
|
29
|
+
#undef _begin_code_h
|
30
|
+
|
31
|
+
/* Reset structure packing at previous byte alignment */
|
32
|
+
#if defined(_MSC_VER) || defined(__MWERKS__) || defined(__WATCOMC__) || defined(__BORLANDC__)
|
33
|
+
#ifdef __BORLANDC__
|
34
|
+
#pragma nopackwarning
|
35
|
+
#endif
|
36
|
+
#pragma pack(pop)
|
37
|
+
#endif /* Compiler needs structure packing set */
|
@@ -0,0 +1,42 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
3
|
+
<plist version="1.0">
|
4
|
+
<dict>
|
5
|
+
<key>BuildMachineOSBuild</key>
|
6
|
+
<string>13C64</string>
|
7
|
+
<key>CFBundleDevelopmentRegion</key>
|
8
|
+
<string>English</string>
|
9
|
+
<key>CFBundleExecutable</key>
|
10
|
+
<string>SDL2</string>
|
11
|
+
<key>CFBundleGetInfoString</key>
|
12
|
+
<string>http://www.libsdl.org</string>
|
13
|
+
<key>CFBundleIdentifier</key>
|
14
|
+
<string>org.libsdl.SDL2</string>
|
15
|
+
<key>CFBundleInfoDictionaryVersion</key>
|
16
|
+
<string>6.0</string>
|
17
|
+
<key>CFBundleName</key>
|
18
|
+
<string>Simple DirectMedia Layer</string>
|
19
|
+
<key>CFBundlePackageType</key>
|
20
|
+
<string>FMWK</string>
|
21
|
+
<key>CFBundleShortVersionString</key>
|
22
|
+
<string>2.0.3</string>
|
23
|
+
<key>CFBundleSignature</key>
|
24
|
+
<string>SDLX</string>
|
25
|
+
<key>CFBundleVersion</key>
|
26
|
+
<string>2.0.3</string>
|
27
|
+
<key>DTCompiler</key>
|
28
|
+
<string>com.apple.compilers.llvm.clang.1_0</string>
|
29
|
+
<key>DTPlatformBuild</key>
|
30
|
+
<string>5A3005</string>
|
31
|
+
<key>DTPlatformVersion</key>
|
32
|
+
<string>GM</string>
|
33
|
+
<key>DTSDKBuild</key>
|
34
|
+
<string>13A595</string>
|
35
|
+
<key>DTSDKName</key>
|
36
|
+
<string>macosx10.9</string>
|
37
|
+
<key>DTXcode</key>
|
38
|
+
<string>0502</string>
|
39
|
+
<key>DTXcodeBuild</key>
|
40
|
+
<string>5A3005</string>
|
41
|
+
</dict>
|
42
|
+
</plist>
|
Binary file
|
@@ -0,0 +1,331 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
3
|
+
<plist version="1.0">
|
4
|
+
<dict>
|
5
|
+
<key>files</key>
|
6
|
+
<dict>
|
7
|
+
<key>Resources/Info.plist</key>
|
8
|
+
<data>
|
9
|
+
d2/oGv37hzJiI02uqOn6tWDcYXg=
|
10
|
+
</data>
|
11
|
+
</dict>
|
12
|
+
<key>files2</key>
|
13
|
+
<dict>
|
14
|
+
<key>Headers/SDL.h</key>
|
15
|
+
<data>
|
16
|
+
V1QWaDSl0nAm0vEYtj9XA3svgrk=
|
17
|
+
</data>
|
18
|
+
<key>Headers/SDL_assert.h</key>
|
19
|
+
<data>
|
20
|
+
A+ij0rtxdGfk7gc8R6s49k/JSZ4=
|
21
|
+
</data>
|
22
|
+
<key>Headers/SDL_atomic.h</key>
|
23
|
+
<data>
|
24
|
+
ZlwmoTPRbjyEzJqz6ZnI8O580bM=
|
25
|
+
</data>
|
26
|
+
<key>Headers/SDL_audio.h</key>
|
27
|
+
<data>
|
28
|
+
Fc9yNvRkakypgT4OZITeQo0sBxQ=
|
29
|
+
</data>
|
30
|
+
<key>Headers/SDL_bits.h</key>
|
31
|
+
<data>
|
32
|
+
UhPqnEjilCrF8s0HOGP7w5NLnSk=
|
33
|
+
</data>
|
34
|
+
<key>Headers/SDL_blendmode.h</key>
|
35
|
+
<data>
|
36
|
+
spiBz2bCXIHQJcL3NDs68kAbdA4=
|
37
|
+
</data>
|
38
|
+
<key>Headers/SDL_clipboard.h</key>
|
39
|
+
<data>
|
40
|
+
NzFBzlIVdDwe6BR6AqXDiR1YTz4=
|
41
|
+
</data>
|
42
|
+
<key>Headers/SDL_config.h</key>
|
43
|
+
<data>
|
44
|
+
6UxefSe2Tl+lPT67U1Ux+W+oKIE=
|
45
|
+
</data>
|
46
|
+
<key>Headers/SDL_config_macosx.h</key>
|
47
|
+
<data>
|
48
|
+
CmgvosArIWjXlCODdGchorpVIQE=
|
49
|
+
</data>
|
50
|
+
<key>Headers/SDL_copying.h</key>
|
51
|
+
<data>
|
52
|
+
OvmsdAuQcE2bg1R1H0fOMp5/qRQ=
|
53
|
+
</data>
|
54
|
+
<key>Headers/SDL_cpuinfo.h</key>
|
55
|
+
<data>
|
56
|
+
j391ZF8LcaMfyzF1UXrldg8a7ho=
|
57
|
+
</data>
|
58
|
+
<key>Headers/SDL_endian.h</key>
|
59
|
+
<data>
|
60
|
+
p99jInDkUdRwbqec59eOp/GQ4rU=
|
61
|
+
</data>
|
62
|
+
<key>Headers/SDL_error.h</key>
|
63
|
+
<data>
|
64
|
+
ag6f/Hm+13QrR9p07cju5XbKvSE=
|
65
|
+
</data>
|
66
|
+
<key>Headers/SDL_events.h</key>
|
67
|
+
<data>
|
68
|
+
0k79XbDGCX7yxKi/mty+869GbIc=
|
69
|
+
</data>
|
70
|
+
<key>Headers/SDL_filesystem.h</key>
|
71
|
+
<data>
|
72
|
+
3wT4lJaVKpbsNWiM44VbPz8WHt4=
|
73
|
+
</data>
|
74
|
+
<key>Headers/SDL_gamecontroller.h</key>
|
75
|
+
<data>
|
76
|
+
F+/ctfs6RZGvLHmQIS9smmc0Xik=
|
77
|
+
</data>
|
78
|
+
<key>Headers/SDL_gesture.h</key>
|
79
|
+
<data>
|
80
|
+
8wiTqdK35saUqErjOvlXivTiXVk=
|
81
|
+
</data>
|
82
|
+
<key>Headers/SDL_haptic.h</key>
|
83
|
+
<data>
|
84
|
+
oa68FWhNliE7F2tz3N5hJQzUxZU=
|
85
|
+
</data>
|
86
|
+
<key>Headers/SDL_hints.h</key>
|
87
|
+
<data>
|
88
|
+
uq66WfAIC63c4YdZj47y0l+gxgI=
|
89
|
+
</data>
|
90
|
+
<key>Headers/SDL_joystick.h</key>
|
91
|
+
<data>
|
92
|
+
2vEN7qvUBuqvc/0fhBnGupEuY/I=
|
93
|
+
</data>
|
94
|
+
<key>Headers/SDL_keyboard.h</key>
|
95
|
+
<data>
|
96
|
+
XvF3ZIyOD54CoemusEc0wg8sLIQ=
|
97
|
+
</data>
|
98
|
+
<key>Headers/SDL_keycode.h</key>
|
99
|
+
<data>
|
100
|
+
qxtvZLZ+BOAWk9XvBB8ywRLrbJI=
|
101
|
+
</data>
|
102
|
+
<key>Headers/SDL_loadso.h</key>
|
103
|
+
<data>
|
104
|
+
tzkBoa1ccEUEs6EQoqFD+y59G9s=
|
105
|
+
</data>
|
106
|
+
<key>Headers/SDL_log.h</key>
|
107
|
+
<data>
|
108
|
+
5+u+5Ws0ERngj9djx3aZEPNvOiw=
|
109
|
+
</data>
|
110
|
+
<key>Headers/SDL_main.h</key>
|
111
|
+
<data>
|
112
|
+
5wmi6gkUFkpi5p65kKHH9Hb5Jrc=
|
113
|
+
</data>
|
114
|
+
<key>Headers/SDL_messagebox.h</key>
|
115
|
+
<data>
|
116
|
+
gAGlr7m3thQnx4wyzAaLZAMmJ4k=
|
117
|
+
</data>
|
118
|
+
<key>Headers/SDL_mouse.h</key>
|
119
|
+
<data>
|
120
|
+
Ga3nAm990weBvd0CkIvRVUkiFC0=
|
121
|
+
</data>
|
122
|
+
<key>Headers/SDL_mutex.h</key>
|
123
|
+
<data>
|
124
|
+
iPyVkuP4RrNbMUVEKvE35l9OrqQ=
|
125
|
+
</data>
|
126
|
+
<key>Headers/SDL_name.h</key>
|
127
|
+
<data>
|
128
|
+
78vt0/b4lhJtAs7LthA9zGgvAeM=
|
129
|
+
</data>
|
130
|
+
<key>Headers/SDL_opengl.h</key>
|
131
|
+
<data>
|
132
|
+
UXQS2AWZNWQoyMC/DBJWHQNE3lY=
|
133
|
+
</data>
|
134
|
+
<key>Headers/SDL_opengles.h</key>
|
135
|
+
<data>
|
136
|
+
9HDT4VHcWQHLcr8mRN/zQAxIwaY=
|
137
|
+
</data>
|
138
|
+
<key>Headers/SDL_opengles2.h</key>
|
139
|
+
<data>
|
140
|
+
4GQ4IpKTxOxwxDXdTOwDGKiyfcI=
|
141
|
+
</data>
|
142
|
+
<key>Headers/SDL_pixels.h</key>
|
143
|
+
<data>
|
144
|
+
38AJ5fWTwkPLu6JAG6tnzA1phQw=
|
145
|
+
</data>
|
146
|
+
<key>Headers/SDL_platform.h</key>
|
147
|
+
<data>
|
148
|
+
7xpqeGpv91l0wCzOtEZZJx/XISY=
|
149
|
+
</data>
|
150
|
+
<key>Headers/SDL_power.h</key>
|
151
|
+
<data>
|
152
|
+
WDdEpBEDv/GnPdkf7epZKqzcf0Q=
|
153
|
+
</data>
|
154
|
+
<key>Headers/SDL_quit.h</key>
|
155
|
+
<data>
|
156
|
+
4mMscyp/+n+3UUqr7x584Efy4LM=
|
157
|
+
</data>
|
158
|
+
<key>Headers/SDL_rect.h</key>
|
159
|
+
<data>
|
160
|
+
zUUib0allCqvVaRE3U+zoTjKWtM=
|
161
|
+
</data>
|
162
|
+
<key>Headers/SDL_render.h</key>
|
163
|
+
<data>
|
164
|
+
aeK6wmYO+oEwbiT+nweUdM5xXCY=
|
165
|
+
</data>
|
166
|
+
<key>Headers/SDL_revision.h</key>
|
167
|
+
<data>
|
168
|
+
BAH0o/ZreMGrmdBWnxc1nqmA1kU=
|
169
|
+
</data>
|
170
|
+
<key>Headers/SDL_rwops.h</key>
|
171
|
+
<data>
|
172
|
+
355p5zkvsqZOPmYPLeWG+5SyupU=
|
173
|
+
</data>
|
174
|
+
<key>Headers/SDL_scancode.h</key>
|
175
|
+
<data>
|
176
|
+
INF4sgKOGtCULJnJCOokJHtR5XI=
|
177
|
+
</data>
|
178
|
+
<key>Headers/SDL_shape.h</key>
|
179
|
+
<data>
|
180
|
+
Xfr+F9W53TRs1xmQmetWSqr5J80=
|
181
|
+
</data>
|
182
|
+
<key>Headers/SDL_stdinc.h</key>
|
183
|
+
<data>
|
184
|
+
cYfn4UFpzaPnYpdyouDJu9cOVMA=
|
185
|
+
</data>
|
186
|
+
<key>Headers/SDL_surface.h</key>
|
187
|
+
<data>
|
188
|
+
IvWIDZA3/njVjOeUGPOCI1TgtYk=
|
189
|
+
</data>
|
190
|
+
<key>Headers/SDL_system.h</key>
|
191
|
+
<data>
|
192
|
+
AiH00EpXgPKdhet2G4xcmcH/ksM=
|
193
|
+
</data>
|
194
|
+
<key>Headers/SDL_syswm.h</key>
|
195
|
+
<data>
|
196
|
+
EWVOWAWmIEwtelxbObXBFBjeAhs=
|
197
|
+
</data>
|
198
|
+
<key>Headers/SDL_thread.h</key>
|
199
|
+
<data>
|
200
|
+
6c/SdVyJYzPCpc9VReC4M2mkHsU=
|
201
|
+
</data>
|
202
|
+
<key>Headers/SDL_timer.h</key>
|
203
|
+
<data>
|
204
|
+
qRaDucrtFMo0wi2Ht1asTXT1KzQ=
|
205
|
+
</data>
|
206
|
+
<key>Headers/SDL_touch.h</key>
|
207
|
+
<data>
|
208
|
+
GuFayLe8ckqQ9fDTywrbkDqalF8=
|
209
|
+
</data>
|
210
|
+
<key>Headers/SDL_types.h</key>
|
211
|
+
<data>
|
212
|
+
cI11mHss4ZMZRb+tcavcqvyGyMU=
|
213
|
+
</data>
|
214
|
+
<key>Headers/SDL_version.h</key>
|
215
|
+
<data>
|
216
|
+
E+9SX+Ras/OOKs+Hx3Qqg9OmSJo=
|
217
|
+
</data>
|
218
|
+
<key>Headers/SDL_video.h</key>
|
219
|
+
<data>
|
220
|
+
5JajflSoR/g19DlcFCyjlnc/11U=
|
221
|
+
</data>
|
222
|
+
<key>Headers/begin_code.h</key>
|
223
|
+
<data>
|
224
|
+
G/sTX6v+h2gKPdH8ly0VNFG9bH0=
|
225
|
+
</data>
|
226
|
+
<key>Headers/close_code.h</key>
|
227
|
+
<data>
|
228
|
+
+wrOrAXurJ3oZCk/811bnw6AHrc=
|
229
|
+
</data>
|
230
|
+
<key>Resources/Info.plist</key>
|
231
|
+
<data>
|
232
|
+
d2/oGv37hzJiI02uqOn6tWDcYXg=
|
233
|
+
</data>
|
234
|
+
</dict>
|
235
|
+
<key>rules</key>
|
236
|
+
<dict>
|
237
|
+
<key>^Resources/</key>
|
238
|
+
<true/>
|
239
|
+
<key>^Resources/.*\.lproj/</key>
|
240
|
+
<dict>
|
241
|
+
<key>optional</key>
|
242
|
+
<true/>
|
243
|
+
<key>weight</key>
|
244
|
+
<real>1000</real>
|
245
|
+
</dict>
|
246
|
+
<key>^Resources/.*\.lproj/locversion.plist$</key>
|
247
|
+
<dict>
|
248
|
+
<key>omit</key>
|
249
|
+
<true/>
|
250
|
+
<key>weight</key>
|
251
|
+
<real>1100</real>
|
252
|
+
</dict>
|
253
|
+
<key>^version.plist$</key>
|
254
|
+
<true/>
|
255
|
+
</dict>
|
256
|
+
<key>rules2</key>
|
257
|
+
<dict>
|
258
|
+
<key>.*\.dSYM($|/)</key>
|
259
|
+
<dict>
|
260
|
+
<key>weight</key>
|
261
|
+
<real>11</real>
|
262
|
+
</dict>
|
263
|
+
<key>^(.*/)?\.DS_Store$</key>
|
264
|
+
<dict>
|
265
|
+
<key>omit</key>
|
266
|
+
<true/>
|
267
|
+
<key>weight</key>
|
268
|
+
<real>2000</real>
|
269
|
+
</dict>
|
270
|
+
<key>^(Frameworks|SharedFrameworks|PlugIns|Plug-ins|XPCServices|Helpers|MacOS|Library/(Automator|Spotlight|LoginItems))/</key>
|
271
|
+
<dict>
|
272
|
+
<key>nested</key>
|
273
|
+
<true/>
|
274
|
+
<key>weight</key>
|
275
|
+
<real>10</real>
|
276
|
+
</dict>
|
277
|
+
<key>^.*</key>
|
278
|
+
<true/>
|
279
|
+
<key>^Info\.plist$</key>
|
280
|
+
<dict>
|
281
|
+
<key>omit</key>
|
282
|
+
<true/>
|
283
|
+
<key>weight</key>
|
284
|
+
<real>20</real>
|
285
|
+
</dict>
|
286
|
+
<key>^PkgInfo$</key>
|
287
|
+
<dict>
|
288
|
+
<key>omit</key>
|
289
|
+
<true/>
|
290
|
+
<key>weight</key>
|
291
|
+
<real>20</real>
|
292
|
+
</dict>
|
293
|
+
<key>^Resources/</key>
|
294
|
+
<dict>
|
295
|
+
<key>weight</key>
|
296
|
+
<real>20</real>
|
297
|
+
</dict>
|
298
|
+
<key>^Resources/.*\.lproj/</key>
|
299
|
+
<dict>
|
300
|
+
<key>optional</key>
|
301
|
+
<true/>
|
302
|
+
<key>weight</key>
|
303
|
+
<real>1000</real>
|
304
|
+
</dict>
|
305
|
+
<key>^Resources/.*\.lproj/locversion.plist$</key>
|
306
|
+
<dict>
|
307
|
+
<key>omit</key>
|
308
|
+
<true/>
|
309
|
+
<key>weight</key>
|
310
|
+
<real>1100</real>
|
311
|
+
</dict>
|
312
|
+
<key>^[^/]+$</key>
|
313
|
+
<dict>
|
314
|
+
<key>nested</key>
|
315
|
+
<true/>
|
316
|
+
<key>weight</key>
|
317
|
+
<real>10</real>
|
318
|
+
</dict>
|
319
|
+
<key>^embedded\.provisionprofile$</key>
|
320
|
+
<dict>
|
321
|
+
<key>weight</key>
|
322
|
+
<real>20</real>
|
323
|
+
</dict>
|
324
|
+
<key>^version\.plist$</key>
|
325
|
+
<dict>
|
326
|
+
<key>weight</key>
|
327
|
+
<real>20</real>
|
328
|
+
</dict>
|
329
|
+
</dict>
|
330
|
+
</dict>
|
331
|
+
</plist>
|