sqrat  0.9
sqrat
 All Classes Functions Variables Enumerations Enumerator Pages
sqratimport.h
1 //
2 // SqImport: Supports importing of squirrel modules
3 //
4 
5 //
6 // Copyright (c) 2009 Brandon Jones
7 //
8 // This software is provided 'as-is', without any express or implied
9 // warranty. In no event will the authors be held liable for any damages
10 // arising from the use of this software.
11 //
12 // Permission is granted to anyone to use this software for any purpose,
13 // including commercial applications, and to alter it and redistribute it
14 // freely, subject to the following restrictions:
15 //
16 // 1. The origin of this software must not be misrepresented; you must not
17 // claim that you wrote the original software. If you use this software
18 // in a product, an acknowledgment in the product documentation would be
19 // appreciated but is not required.
20 //
21 // 2. Altered source versions must be plainly marked as such, and must not be
22 // misrepresented as being the original software.
23 //
24 // 3. This notice may not be removed or altered from any source
25 // distribution.
26 //
27 
28 #if !defined(_SQ_IMPORT_H_)
29 #define _SQ_IMPORT_H_
30 
31 #include <squirrel.h>
32 
33 #ifdef __cplusplus
34 extern "C" {
35 #endif
36 
40  SQUIRREL_API SQRESULT sqrat_import(HSQUIRRELVM v);
41 
45  SQUIRREL_API SQRESULT sqrat_register_importlib(HSQUIRRELVM v);
46 
47 #ifdef __cplusplus
48 } /*extern "C"*/
49 #endif
50 
51 #endif /*_SQ_IMPORT_H_*/