File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -2629,7 +2629,7 @@ with the current table size.
2629
2629
.. code-block :: c++
2630
2630
2631
2631
typedef void (*__funcref funcref_t)();
2632
- static __funcref table[0];
2632
+ static funcref_t table[0];
2633
2633
2634
2634
size_t getSize () {
2635
2635
return __builtin_wasm_table_size (table);
@@ -2651,10 +2651,10 @@ or -1. It will return -1 if not enough space could be allocated.
2651
2651
.. code-block :: c++
2652
2652
2653
2653
typedef void (*__funcref funcref_t)();
2654
- static __funcref table[0];
2654
+ static funcref_t table[0];
2655
2655
2656
2656
// grow returns the new table size or -1 on error.
2657
- int grow (__funcref fn, int delta) {
2657
+ int grow (funcref_t fn, int delta) {
2658
2658
int prevSize = __builtin_wasm_table_grow (table, fn, delta);
2659
2659
if (prevSize == -1)
2660
2660
return -1;
You can’t perform that action at this time.
0 commit comments