Merge pull request #113 from breakin/fix/sq_newclass_doc

Clarify that sq_newclass pushes the new class in the stack.
This commit is contained in:
Alberto Demichelis 2017-11-15 05:51:19 +08:00 committed by GitHub
commit 2fa5378a1a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -355,7 +355,7 @@ creates a new array and pushes it in the stack
:param SQBool hasbase: if the parameter is true the function expects a base class on top of the stack. :param SQBool hasbase: if the parameter is true the function expects a base class on top of the stack.
:returns: a SQRESULT :returns: a SQRESULT
creates a new class object. If the parameter 'hasbase' is different than 0, the function pops a class from the stack and inherits the new created class from it. creates a new class object. If the parameter 'hasbase' is different than 0, the function pops a class from the stack and inherits the new created class from it. The new class is pushed in the stack.