mirror of
https://github.com/i-net-software/JWebAssembly.git
synced 2025-03-15 10:44:47 +01:00
Rename anyfunc -> funcref
This commit is contained in:
parent
87039232eb
commit
672574abd0
@ -136,7 +136,7 @@ public class TextModuleWriter extends ModuleWriter {
|
||||
int count = functions.size();
|
||||
String countStr = Integer.toString( count );
|
||||
newline( output );
|
||||
output.append( "(table " ).append( countStr ).append( ' ' ).append( countStr ).append( " anyfunc)" );
|
||||
output.append( "(table " ).append( countStr ).append( ' ' ).append( countStr ).append( " funcref)" );
|
||||
newline( output );
|
||||
output.append( "(elem (i32.const 0) " );
|
||||
for( int i = 0; i < count; i++ ) {
|
||||
|
@ -20,7 +20,7 @@ package de.inetsoftware.jwebassembly.wasm;
|
||||
* <pre><code>
|
||||
* numtype ::= i32 | i64 | f32 | f64
|
||||
* packedtype ::= i8 | i16
|
||||
* reftype ::= anyref | anyfunc | nullref
|
||||
* reftype ::= anyref | funcref | nullref
|
||||
* valtype ::= numtype | reftype
|
||||
* deftype ::= functype | structtype | arraytype
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user