py_inspect_currentfunction method

py_StackRef py_inspect_currentfunction()

Get the current function object on the stack. Return NULL if not available. NOTE: This function should be placed at the beginning of your decl-based bindings.

Implementation

py_StackRef py_inspect_currentfunction() {
  return _py_inspect_currentfunction();
}