Package com.jogamp.gluegen.procaddress
Class ProcAddressCMethodBindingEmitter
java.lang.Object
com.jogamp.gluegen.FunctionEmitter
com.jogamp.gluegen.CMethodBindingEmitter
com.jogamp.gluegen.procaddress.ProcAddressCMethodBindingEmitter
-
Nested Class Summary
Nested classes/interfaces inherited from class com.jogamp.gluegen.CMethodBindingEmitter
CMethodBindingEmitter.DefaultCommentEmitterNested classes/interfaces inherited from class com.jogamp.gluegen.FunctionEmitter
FunctionEmitter.EmissionModifier -
Field Summary
Fields inherited from class com.jogamp.gluegen.CMethodBindingEmitter
arrayIdx, arrayRes, arrayResLength, binding, defaultCommentEmitter, forImplementingMethodCall, forIndirectBufferAndArrayImplementation, LOG, machDesc, STRING_CHARS_PREFIXFields inherited from class com.jogamp.gluegen.FunctionEmitter
cfg, STATIC -
Constructor Summary
ConstructorsConstructorDescriptionProcAddressCMethodBindingEmitter(CMethodBindingEmitter methodToWrap, boolean callThroughProcAddress, boolean hasProcAddrTypedef, String localTypedefCallingConvention, ProcAddressEmitter emitter) -
Method Summary
Modifier and TypeMethodDescriptionprotected intemitArguments(PrintWriter writer) Returns the number of arguments emitted.protected voidemitBodyCallCFunction(PrintWriter writer) protected voidprotected voidCode to init the variables that were declared in emitBodyVariableDeclarations(), PRIOR TO calling the actual C function.protected StringjniMangle(MethodBinding binding) Methods inherited from class com.jogamp.gluegen.CMethodBindingEmitter
argumentNameArray, byteOffsetArgName, byteOffsetArrayArgName, cThisArgumentName, emitBody, emitBodyPassCArguments, emitBodyReturnResult, emitBodyUserVariableAssignments, emitBodyUserVariableDeclarations, emitBodyVariablePostCallCleanup, emitName, emitReturnType, forIndirectBufferAndArrayImplementation, getBinding, getCSymbol, getImplName, getImplSuffix, getInterfaceName, getIsJavaMethodStatic, getIsOverloadedBinding, getJavaClassName, getJavaPackageName, getMachineDataInfo, getNativeName, getReturnValueCapacityExpression, getReturnValueLengthExpression, getTemporaryCVariableAssignments, getTemporaryCVariableDeclarations, isNIOArgName, isNIOArgName, isUTF8Type, javaArgTypeNeedsDataCopy, jniMangle, pointerConversionArgumentName, setIsCStructFunctionPointer, setReturnValueCapacityExpression, setReturnValueLengthExpression, setTemporaryCVariableAssignments, setTemporaryCVariableDeclarationsMethods inherited from class com.jogamp.gluegen.FunctionEmitter
addModifier, addModifiers, clearModifiers, emit, emit, emitDocComment, emitModifiers, emitSignature, getBaseIndentString, getCommentEmitter, getCommentEndString, getCommentStartString, getDefaultOutput, getModifiers, hasModifier, isInterface, removeModifier, setCommentEmitter, toString
-
Constructor Details
-
ProcAddressCMethodBindingEmitter
public ProcAddressCMethodBindingEmitter(CMethodBindingEmitter methodToWrap, boolean callThroughProcAddress, boolean hasProcAddrTypedef, String localTypedefCallingConvention, ProcAddressEmitter emitter)
-
-
Method Details
-
emitArguments
Description copied from class:FunctionEmitterReturns the number of arguments emitted.- Overrides:
emitArgumentsin classCMethodBindingEmitter
-
emitBodyVariableDeclarations
- Overrides:
emitBodyVariableDeclarationsin classCMethodBindingEmitter
-
emitBodyVariablePreCallSetup
Description copied from class:CMethodBindingEmitterCode to init the variables that were declared in emitBodyVariableDeclarations(), PRIOR TO calling the actual C function.- Overrides:
emitBodyVariablePreCallSetupin classCMethodBindingEmitter
-
emitBodyCallCFunction
- Overrides:
emitBodyCallCFunctionin classCMethodBindingEmitter
-
jniMangle
- Overrides:
jniManglein classCMethodBindingEmitter
-