| 1 | //======================================================================== |
| 2 | // GLFW - An OpenGL framework |
| 3 | // File: luaglfw.h |
| 4 | // Platform: Lua 5.0 |
| 5 | // API version: 2.5 |
| 6 | // WWW: http://glfw.sourceforge.net |
| 7 | //------------------------------------------------------------------------ |
| 8 | // Copyright (c) 2002-2005 Camilla Berglund |
| 9 | // |
| 10 | // This software is provided 'as-is', without any express or implied |
| 11 | // warranty. In no event will the authors be held liable for any damages |
| 12 | // arising from the use of this software. |
| 13 | // |
| 14 | // Permission is granted to anyone to use this software for any purpose, |
| 15 | // including commercial applications, and to alter it and redistribute it |
| 16 | // freely, subject to the following restrictions: |
| 17 | // |
| 18 | // 1. The origin of this software must not be misrepresented; you must not |
| 19 | // claim that you wrote the original software. If you use this software |
| 20 | // in a product, an acknowledgment in the product documentation would |
| 21 | // be appreciated but is not required. |
| 22 | // |
| 23 | // 2. Altered source versions must be plainly marked as such, and must not |
| 24 | // be misrepresented as being the original software. |
| 25 | // |
| 26 | // 3. This notice may not be removed or altered from any source |
| 27 | // distribution. |
| 28 | // |
| 29 | //======================================================================== |
| 30 | |
| 31 | #ifndef __luaglfw_h_ |
| 32 | #define __luaglfw_h_ |
| 33 | |
| 34 | #ifdef __cplusplus |
| 35 | extern "C" { |
| 36 | #endif |
| 37 | |
| 38 | |
| 39 | #include <lua.h> |
| 40 | |
| 41 | int luaopen_glfw( lua_State * L ); |
| 42 | |
| 43 | |
| 44 | #ifdef __cplusplus |
| 45 | } |
| 46 | #endif |
| 47 | |
| 48 | #endif // __luaglfw_h_ |