-
Notifications
You must be signed in to change notification settings - Fork 830
Open
Description
// Gets the name of the specified `Table`.
BINARYEN_API const char* BinaryenTableGetName(BinaryenTableRef table);
// Sets the name of the specified `Table`.
BINARYEN_API void BinaryenTableSetName(BinaryenTableRef table,
const char* name);
// Gets the initial number of pages of the specified `Table`.
BINARYEN_API BinaryenIndex BinaryenTableGetInitial(BinaryenTableRef table);
// Sets the initial number of pages of the specified `Table`.
BINARYEN_API void BinaryenTableSetInitial(BinaryenTableRef table,
BinaryenIndex initial);
// Tests whether the specified `Table` has a maximum number of pages.
BINARYEN_API bool BinaryenTableHasMax(BinaryenTableRef table);
// Gets the maximum number of pages of the specified `Table`.
BINARYEN_API BinaryenIndex BinaryenTableGetMax(BinaryenTableRef table);
// Sets the maximum number of pages of the specified `Table`.
BINARYEN_API void BinaryenTableSetMax(BinaryenTableRef table,
BinaryenIndex max);
// Gets the table type of the specified `Table`.
BINARYEN_API BinaryenType BinaryenTableGetType(BinaryenTableRef table);
// Sets the table type of the specified `Table`.
BINARYEN_API void BinaryenTableSetType(BinaryenTableRef table,
BinaryenType tableType);
Implement the bindings for table operations in the js api.
I'm willing to take on this work, I just didn't know if this belongs under the Binaryen.Table api or where in the api these belong.
Metadata
Metadata
Assignees
Labels
No labels