add basic python writer for bmap binding

This commit is contained in:
2023-11-02 22:02:39 +08:00
parent bcd58af132
commit 52c2d3f7e0
9 changed files with 260 additions and 6 deletions

View File

@ -20,7 +20,7 @@ public class VariableType {
}
private VariableType(Vector<String> base_type, int pointer_level) {
mBaseType.addAll(base_type);
mBaseType = (Vector<String>) base_type.clone();
mPointerLevel = pointer_level;
}
@ -63,6 +63,10 @@ public class VariableType {
public boolean isPointer() {
return mPointerLevel != 0;
}
public int getPointerLevel() {
return mPointerLevel;
}
public boolean isValid() {
return mBaseType.size() != 0;