squirrel_std.hpp
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00012 #ifndef SQUIRREL_STD_HPP
00013 #define SQUIRREL_STD_HPP
00014
00015 #if defined(__APPLE__)
00016
00017 #undef require
00018 #endif
00019
00026 class SquirrelStd {
00027 public:
00028
00032 static SQInteger min(HSQUIRRELVM vm);
00033
00037 static SQInteger max(HSQUIRRELVM vm);
00038
00044 static SQInteger require(HSQUIRRELVM vm);
00045
00049 static SQInteger notifyallexceptions(HSQUIRRELVM vm);
00050 };
00051
00055 void squirrel_register_std(Squirrel *engine);
00056
00061 void squirrel_register_global_std(Squirrel *engine);
00062
00063 #endif