squirrel_std.hpp
Go to the documentation of this file.00001
00002
00005 #ifndef SQUIRREL_STD_HPP
00006 #define SQUIRREL_STD_HPP
00007
00008 #if defined(__APPLE__)
00009
00010 #undef require
00011 #endif
00012
00019 class SquirrelStd {
00020 public:
00024 static SQInteger abs(HSQUIRRELVM vm);
00025
00029 static SQInteger min(HSQUIRRELVM vm);
00030
00034 static SQInteger max(HSQUIRRELVM vm);
00035
00041 static SQInteger require(HSQUIRRELVM vm);
00042
00046 static SQInteger notifyallexceptions(HSQUIRRELVM vm);
00047 };
00048
00052 void squirrel_register_std(Squirrel *engine);
00053
00058 void squirrel_register_global_std(Squirrel *engine);
00059
00060 #endif