Commit f08fd69f authored by Sven Robertz's avatar Sven Robertz
Browse files

Java decodes var arrays properly

parent cee89a52
......@@ -578,7 +578,7 @@ aspect Java_Class {
}
public void VariableSize.Java_emitDecoder(Java_env env) {
env.print("d.decodeInt()");
env.print("d.decodePacked32()");
}
public void StructType.Java_emitDecoder(Java_env env, String name) {
......
......@@ -41,6 +41,7 @@ int main(int argc, char *argv[]) {
foo[k] = k;
}
printf("Encoding TwoArrays...\n");
labcomm_encode_simple_TwoArrays(encoder, &ta);
ti.a = 23;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment