src/squirrel.hpp
branchnoai
changeset 9588 01b2435c977b
parent 9576 d650eb70a8d0
child 9673 ee4f133c84ec
equal deleted inserted replaced
9587:b0716d4c0128 9588:01b2435c977b
    61 	/**
    61 	/**
    62 	 * Adds a class to the global scope. Make sure to call AddClassEnd when you
    62 	 * Adds a class to the global scope. Make sure to call AddClassEnd when you
    63 	 *  are done adding methods.
    63 	 *  are done adding methods.
    64 	 */
    64 	 */
    65 	void AddClassBegin(const char *class_name);
    65 	void AddClassBegin(const char *class_name);
       
    66 
       
    67 	/**
       
    68 	 * Adds a class to the global scope, extending 'parent_class'.
       
    69 	 * Make sure to call AddClassEnd when you are done adding methods.
       
    70 	 */
       
    71 	void AddClassBegin(const char *class_name, const char *parent_class);
    66 
    72 
    67 	/**
    73 	/**
    68 	 * Finishes adding a class to the global scope. If this isn't called, no
    74 	 * Finishes adding a class to the global scope. If this isn't called, no
    69 	 *  class is really created.
    75 	 *  class is really created.
    70 	 */
    76 	 */