Panda3D
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Properties
Classes | Functions | Variables
direct.ffi.FFIOverload Namespace Reference

Classes

class  FFIMethodArgumentTree
 
class  FFIMethodArgumentTreeCollection
 

Functions

def cullOverloadedMethods
 
def getInheritanceLevel
 
def getTypeName
 
def inheritanceLevelSort
 
def inheritsFrom
 
def subclass
 

Variables

int AT_bool = 4
 
int AT_char = 5
 
int AT_double = 3
 
int AT_float = 2
 
int AT_int = 1
 
int AT_longlong = 8
 
int AT_not_atomic = 0
 
int AT_string = 7
 
int AT_void = 6
 

Function Documentation

def direct.ffi.FFIOverload.cullOverloadedMethods (   fullMethodDict)
Find all the entries that have multiple indexes for the same method name
Get rid of all others.
def direct.ffi.FFIOverload.getInheritanceLevel (   type,
  checkNested = 1 
)
def direct.ffi.FFIOverload.getTypeName (   classTypeDesc,
  typeDesc 
)
Map the interrogate primitive type names to python type names.
We assume that the module using this has imported the types module.
It is valid to pass in None for classTypeDesc if we are not in a class
def direct.ffi.FFIOverload.inheritanceLevelSort (   type1,
  type2 
)
def direct.ffi.FFIOverload.inheritsFrom (   type1,
  type2 
)
Return true if type1 inherits from type2
This works by recursively checking parentTypes for type1
def direct.ffi.FFIOverload.subclass (   type1,
  type2 
)
Helper funcion used in sorting classes by inheritance

Variable Documentation

int AT_bool = 4
int AT_char = 5
int AT_double = 3
int AT_float = 2
int AT_int = 1
int AT_longlong = 8
int AT_not_atomic = 0
int AT_string = 7
int AT_void = 6