src/squirrel.hpp
branchnoai
changeset 9525 1d6c509b56ee
parent 9435 9dad22394553
child 9539 7416d0694d3a
--- a/src/squirrel.hpp	Sun Mar 25 13:50:19 2007 +0000
+++ b/src/squirrel.hpp	Sun Mar 25 13:55:31 2007 +0000
@@ -50,6 +50,12 @@
 	void AddMethod(const char *method_name, SQFUNCTION proc, void *userdata, int size);
 
 	/**
+	 * Adds a const to the stack. Depending on the current state this means
+	 *  either a const to a class or to the global space.
+	 */
+	void AddConst(const char *var_name, int value);
+
+	/**
 	 * Adds a class to the global scope. Make sure to call AddClassEnd when you
 	 *  are done adding methods.
 	 */