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 #include "squirrel.hpp"
00016
00017 #if defined(__APPLE__)
00018
00019 #undef require
00020 #endif
00021
00028 class SquirrelStd {
00029 public:
00030
00034 static SQInteger min(HSQUIRRELVM vm);
00035
00039 static SQInteger max(HSQUIRRELVM vm);
00040
00046 static SQInteger require(HSQUIRRELVM vm);
00047
00051 static SQInteger notifyallexceptions(HSQUIRRELVM vm);
00052 };
00053
00057 void squirrel_register_std(Squirrel *engine);
00058
00063 void squirrel_register_global_std(Squirrel *engine);
00064
00065 #endif