mirror of
https://github.com/i-net-software/JWebAssembly.git
synced 2025-03-15 02:44:47 +01:00
Add more primitive type mappings
This commit is contained in:
parent
a3807680b7
commit
71ce4c1856
@ -121,6 +121,15 @@ public class WasmRule extends TemporaryFolder {
|
||||
case "java.lang.Integer":
|
||||
type = int.class;
|
||||
break;
|
||||
case "java.lang.Long":
|
||||
type = long.class;
|
||||
break;
|
||||
case "java.lang.Float":
|
||||
type = float.class;
|
||||
break;
|
||||
case "java.lang.Double":
|
||||
type = double.class;
|
||||
break;
|
||||
}
|
||||
types[i] = type;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user