public class StructureMapping extends java.lang.Object implements TypeMapping
| Constructor and Description |
|---|
StructureMapping() |
| 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)
TypeMappingcToJ in interface TypeMappingcVar - 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)
TypeMappingjToC in interface TypeMappingjVar - 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.