py_inspect_currentmodule method

py_GlobalRef py_inspect_currentmodule()

Get the current module object where the code is executed. Return NULL if not available.

Implementation

py_GlobalRef py_inspect_currentmodule() {
  return _py_inspect_currentmodule();
}