PythonScript Xojo Plugin |

# PythonResult.GetPtr Method (console safe)

Gets a pointer to the inner Python object of the PythonResult class.

GetPtr() as Ptr

#### Parameters

#### Returns

Ptr
  inner Python object of the PythonResult class.

#### Remarks

Do not use this anywhere except when returning function result in a Xojo hosted function !!
Calling this function will increase internal Python Reference counts so using this function in other places than return value of Xojo hosted function will cause memory leaks and or undesired results.

#### See Also

PythonResult Class