public class PointerMapping extends java.lang.Object implements TypeMapping
Constructor and Description |
---|
PointerMapping() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
cToJ(java.lang.Object cVar,
java.lang.String signature,
TypeMapping root)
Converts a C variable to the corresponding Java variable given the
context of the specified signature.
|
java.lang.Object |
jToC(java.lang.Object jVar,
java.lang.String signature,
TypeMapping root)
Converts a Java variable to the corresponding Java variable given the
context of the specified signature.
|
public java.lang.Object cToJ(java.lang.Object cVar, java.lang.String signature, TypeMapping root)
TypeMapping
cToJ
in interface TypeMapping
cVar
- The C variable to be converted.signature
- The signature that tells what type of variable we are dealing with according to Objective-C Type Encoding conventions.root
- The root TypeMapping objectpublic java.lang.Object jToC(java.lang.Object jVar, java.lang.String signature, TypeMapping root)
TypeMapping
jToC
in interface TypeMapping
jVar
- The Java variable to be converted.signature
- The signature that tells what type of variable we are dealing with according to Objective-C Type Encoding conventions.