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

Classes

class  FFIMethodArgumentTree
 
class  FFIMethodArgumentTreeCollection
 

Functions

def cullOverloadedMethods (fullMethodDict)
 
def getInheritanceLevel (type, checkNested=1)
 
def getTypeName (classTypeDesc, typeDesc)
 
def inheritanceLevelSort (type1, type2)
 
def inheritsFrom (type1, type2)
 
def subclass (type1, type2)
 

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

◆ cullOverloadedMethods()

def direct.ffi.FFIOverload.cullOverloadedMethods (   fullMethodDict)
Find all the entries that have multiple indexes for the same method name
Get rid of all others.

◆ getInheritanceLevel()

def direct.ffi.FFIOverload.getInheritanceLevel (   type,
  checkNested = 1 
)

◆ getTypeName()

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

◆ inheritanceLevelSort()

def direct.ffi.FFIOverload.inheritanceLevelSort (   type1,
  type2 
)

◆ inheritsFrom()

def direct.ffi.FFIOverload.inheritsFrom (   type1,
  type2 
)
Return true if type1 inherits from type2
This works by recursively checking parentTypes for type1

◆ subclass()

def direct.ffi.FFIOverload.subclass (   type1,
  type2 
)
Helper funcion used in sorting classes by inheritance

Variable Documentation

◆ AT_bool

int AT_bool = 4

◆ AT_char

int AT_char = 5

◆ AT_double

int AT_double = 3

◆ AT_float

int AT_float = 2

◆ AT_int

int AT_int = 1

◆ AT_longlong

int AT_longlong = 8

◆ AT_not_atomic

int AT_not_atomic = 0

◆ AT_string

int AT_string = 7

◆ AT_void

int AT_void = 6