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_CPYTHON27VM()
 

Enumerations

enum  VMSETTINGS {
  MOVE_ERRORS_TO_RESULT,
  USE_AUTO_GIL
}
 
enum  VMINITSETTINGS {
  CPYTHON_ADDITIONAL_SYS_PATH,
  CPYTHON_INTERPRETERFLAGS,
  CPYTHON_SUBINTERPRETER,
  PYPY_EXECUTABLE
}
 
enum  ERRORHANDLING {
  PRINT,
  CLEAR,
  REDIRECT
}
 
enum  DEFAULTRUNTIME {
  NONE,
  SYSTEM_27,
  SYSTEM_36,
  DEBUG_27_VS2008,
  DEBUG_27_VS2013,
  DEBUG_27_VS2015,
  DEBUG_36_VS2015,
  RELEASE_27_VS2008,
  RELEASE_27_VS2015,
  RELEASE_36_VS2015,
  DEBUG_27,
  RELEASE_27,
  DEBUG_36,
  RELEASE_36,
  DEFAULT_27,
  DEFAULT_36,
  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_DECLARATION (Class< VirtualMachineRef >, PyPy, "net.maxon.python.virtualmachine.pypy")
 
 MAXON_REGISTRY (VmDebuggerConnectionRef, VmDebuggerConnections, "net.maxon.python.registry.vmdebuggerconnections")
 
 MAXON_DECLARATION (VmDebuggerConnectionRef, Ptvs, "net.maxon.python.vmdebuggerconnection.ptvs")
 
 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
 
 SYSTEM_27
 
 SYSTEM_36
 
 DEBUG_27_VS2008
 
 DEBUG_27_VS2013
 
 DEBUG_27_VS2015
 
 DEBUG_36_VS2015
 
 RELEASE_27_VS2008
 
 RELEASE_27_VS2015
 
 RELEASE_36_VS2015
 
 DEBUG_27
 
 RELEASE_27
 
 DEBUG_36
 
 RELEASE_36
 
 DEFAULT_27
 
 DEFAULT_36
 
 DEFAULT
 

Macro Definition Documentation

◆ MAXON_CPYTHONVM

#define MAXON_CPYTHONVM ( )

◆ MAXON_CPYTHON27VM

#define MAXON_CPYTHON27VM ( )

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

◆ SYSTEM_27

SYSTEM_27

◆ SYSTEM_36

SYSTEM_36

◆ DEBUG_27_VS2008

DEBUG_27_VS2008

◆ DEBUG_27_VS2013

DEBUG_27_VS2013

◆ DEBUG_27_VS2015

DEBUG_27_VS2015

◆ DEBUG_36_VS2015

DEBUG_36_VS2015

◆ RELEASE_27_VS2008

RELEASE_27_VS2008

◆ RELEASE_27_VS2015

RELEASE_27_VS2015

◆ RELEASE_36_VS2015

RELEASE_36_VS2015

◆ DEBUG_27

DEBUG_27

◆ RELEASE_27

RELEASE_27

◆ DEBUG_36

DEBUG_36

◆ RELEASE_36

RELEASE_36

◆ DEFAULT_27

DEFAULT_27

◆ DEFAULT_36

DEFAULT_36

◆ DEFAULT

DEFAULT