@@ -552,7 +552,7 @@ declare type BinaryenImportRef = usize;
552552
553553declare function _BinaryenAddFunctionImport ( module : BinaryenModuleRef , internalName : usize , externalModuleName : usize , externalBaseName : usize , functionType : BinaryenFunctionTypeRef ) : BinaryenImportRef ;
554554declare function _BinaryenAddTableImport ( module : BinaryenModuleRef , internalName : usize , externalModuleName : usize , externalBaseName : usize ) : BinaryenImportRef ;
555- declare function _BinaryenAddMemoryImport ( module : BinaryenModuleRef , internalName : usize , externalModuleName : usize , externalBaseName : usize ) : BinaryenImportRef ;
555+ declare function _BinaryenAddMemoryImport ( module : BinaryenModuleRef , internalName : usize , externalModuleName : usize , externalBaseName : usize , shared : bool ) : BinaryenImportRef ;
556556declare function _BinaryenAddGlobalImport ( module : BinaryenModuleRef , internalName : usize , externalModuleName : usize , externalBaseName : usize , globalType : BinaryenType ) : BinaryenImportRef ;
557557
558558declare type BinaryenExportRef = usize ;
@@ -570,7 +570,7 @@ declare function _BinaryenRemoveGlobal(module: BinaryenModuleRef, name: usize):
570570
571571declare function _BinaryenSetFunctionTable ( module : BinaryenModuleRef , initial : BinaryenIndex , maximum : BinaryenIndex , funcs : usize , numFuncs : BinaryenIndex ) : void ;
572572
573- declare function _BinaryenSetMemory ( module : BinaryenModuleRef , initial : BinaryenIndex , maximum : BinaryenIndex , exportName : usize , segments : usize , segmentOffsets : usize , segmentSizes : usize , numSegments : BinaryenIndex ) : void ;
573+ declare function _BinaryenSetMemory ( module : BinaryenModuleRef , initial : BinaryenIndex , maximum : BinaryenIndex , exportName : usize , segments : usize , segmentOffsets : usize , segmentSizes : usize , numSegments : BinaryenIndex , shared : bool ) : void ;
574574
575575declare function _BinaryenSetStart ( module : BinaryenModuleRef , start : BinaryenFunctionRef ) : void ;
576576
0 commit comments