vm.h File Reference

Classes

struct  ResultOffsetHelper
 
class  LocalStringStorage
 
struct  Runtime
 
struct  LoadRuntime
 
class  LibraryInterface
 
struct  DocStringMeta
 
class  VmDebuggerConnectionInterface
 
class  VirtualMachineScopeInterface
 
class  VirtualMachineInterface
 

Namespaces

 maxon
 
 maxon::VirtualMachines
 
 maxon::VmDebuggerConnections
 
 maxon::PythonVms
 

Macros

#define MAXON_CPYTHONVM()
 
#define MAXON_CPYTHON3VM()
 

Enumerations

enum class  VMSETTINGS {
  MOVE_ERRORS_TO_RESULT ,
  USE_AUTO_GIL
}
 
enum class  VMINITSETTINGS {
  CPYTHON_ADDITIONAL_SYS_PATH ,
  CPYTHON_INTERPRETERFLAGS ,
  CPYTHON_SUBINTERPRETER ,
  PYPY_EXECUTABLE
}
 
enum class  ERRORHANDLING {
  PRINT ,
  CLEAR ,
  REDIRECT
}
 
enum class  DEFAULTRUNTIME {
  NONE ,
  DEBUG_3_VS2015 ,
  RELEASE_3_VS2015 ,
  DEBUG_3 ,
  RELEASE_3 ,
  DEFAULT_3 ,
  DEFAULT
}
 

Functions

enum maxon::VMSETTINGS MAXON_ENUM_FLAGS (VMSETTINGS)
 
enum maxon::VMINITSETTINGS MAXON_ENUM_LIST (VMINITSETTINGS)
 
enum maxon::ERRORHANDLING MAXON_ENUM_LIST (ERRORHANDLING)
 
void DiagnosticOutputFlags (EntityBase::FLAGS flags)
 
void DiagnosticOutputValueKind (const DataType &dt)
 
enum maxon::DEFAULTRUNTIME MAXON_ENUM_LIST (DEFAULTRUNTIME)
 
 MAXON_REGISTRY (Class< VirtualMachineRef >, VirtualMachines, "net.maxon.python.registry.virtualmachines")
 
 MAXON_DECLARATION (Class< VirtualMachineRef >, CPython, "net.maxon.python.virtualmachine.cpython")
 
 MAXON_REGISTRY (VmDebuggerConnectionRef, VmDebuggerConnections, "net.maxon.python.registry.vmdebuggerconnections")
 
 MAXON_DECLARATION (VmDebuggerConnectionRef, DebugPy, "net.maxon.python.vmdebuggerconnection.debugpy")
 
 MAXON_DECLARATION (VmDebuggerConnectionRef, Pydev, "net.maxon.python.vmdebuggerconnection.pydev")
 
 MAXON_DECLARATION (Class< VirtualMachineScopeRef >, CPythonScope, "net.maxon.python.virtualmachine.scope")
 
 MAXON_REGISTRY (VirtualMachineRef, PythonVms, "net.maxon.python.virtualmachines")
 

Variables

 MOVE_ERRORS_TO_RESULT
 
 USE_AUTO_GIL
 
 CPYTHON_ADDITIONAL_SYS_PATH
 
 CPYTHON_INTERPRETERFLAGS
 
 CPYTHON_SUBINTERPRETER
 
 PYPY_EXECUTABLE
 
 PRINT
 
 CLEAR
 
 REDIRECT
 
 NONE
 
 DEBUG_3_VS2015
 
 RELEASE_3_VS2015
 
 DEBUG_3
 
 RELEASE_3
 
 DEFAULT_3
 
 DEFAULT
 

Macro Definition Documentation

◆ MAXON_CPYTHONVM

#define MAXON_CPYTHONVM ( )

◆ MAXON_CPYTHON3VM

#define MAXON_CPYTHON3VM ( )

Variable Documentation

◆ MOVE_ERRORS_TO_RESULT

MOVE_ERRORS_TO_RESULT

◆ USE_AUTO_GIL

USE_AUTO_GIL

◆ CPYTHON_ADDITIONAL_SYS_PATH

CPYTHON_ADDITIONAL_SYS_PATH

◆ CPYTHON_INTERPRETERFLAGS

CPYTHON_INTERPRETERFLAGS

py::PYTHONFLAG

◆ CPYTHON_SUBINTERPRETER

CPYTHON_SUBINTERPRETER

Bool.

◆ PYPY_EXECUTABLE

PYPY_EXECUTABLE

< Private.

◆ PRINT

PRINT

Any thrown exception will be handled internally.

◆ CLEAR

CLEAR

Any thrown exception will be cleared automatically.

◆ REDIRECT

REDIRECT

< Any thrown exception will result in a corresponding maxon.Error. The internal error state of the virtual machine is untouched.

◆ NONE

NONE

◆ DEBUG_3_VS2015

DEBUG_3_VS2015

◆ RELEASE_3_VS2015

RELEASE_3_VS2015

◆ DEBUG_3

DEBUG_3

◆ RELEASE_3

RELEASE_3

◆ DEFAULT_3

DEFAULT_3

◆ DEFAULT

DEFAULT