From a70a135192e878e2f0a7d0aeb4beba28e7c99a23 Mon Sep 17 00:00:00 2001 From: zeromus Date: Thu, 14 Apr 2016 18:25:00 -0500 Subject: [PATCH] clarify sq_getmemberhandle - it only works on classes. not sure what vice-versa meant --- doc/source/reference/api/object_creation_and_handling.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/reference/api/object_creation_and_handling.rst b/doc/source/reference/api/object_creation_and_handling.rst index 189e404..fe2654c 100644 --- a/doc/source/reference/api/object_creation_and_handling.rst +++ b/doc/source/reference/api/object_creation_and_handling.rst @@ -177,7 +177,7 @@ gets the value of the integer at the idx position in the stack. :param SQInteger idx: an index in the stack pointing to the class :param HSQMEMBERHANDLE* handle: a pointer to the variable that will store the handle :returns: a SQRESULT - :remarks: This method works only with classes and instances. A handle retrieved through a class can be later used to set or get values from one of the class instances and vice-versa. Handles retrieved from base classes are still valid in derived classes and respect inheritance rules. + :remarks: This method works only with classes. A handle retrieved through a class can be later used to set or get values from one of the class instances. Handles retrieved from base classes are still valid in derived classes and respect inheritance rules. pops a value from the stack and uses it as index to fetch the handle of a class member. The handle can be later used to set or get the member value using sq_getbyhandle(),sq_setbyhandle().