Panda3D
Classes | Functions | Variables
direct.ffi.FFIExternalObject Namespace Reference

Classes

class  FFIExternalObject
 

Functions

def FFIInstance (classdef, this=0, userManagesMemory=0)
 
def funcToMethod (func, clas, method_name=None)
 
def registerInTypeMap (pythonClass)
 

Variables

dictionary DowncastMap = {}
 
dictionary WrapperClassMap = {}
 

Function Documentation

◆ FFIInstance()

def direct.ffi.FFIExternalObject.FFIInstance (   classdef,
  this = 0,
  userManagesMemory = 0 
)

◆ funcToMethod()

def direct.ffi.FFIExternalObject.funcToMethod (   func,
  clas,
  method_name = None 
)
Adds func to class so it is an accessible method; use method_name to specify the name to be used for calling the method.
The new method is accessible to any instance immediately.

◆ registerInTypeMap()

def direct.ffi.FFIExternalObject.registerInTypeMap (   pythonClass)

Variable Documentation

◆ DowncastMap

dictionary DowncastMap = {}

◆ WrapperClassMap

dictionary WrapperClassMap = {}