emscripten-library-decorator
Advanced tools
Comparing version 0.1.1 to 0.1.2
23
index.ts
@@ -70,3 +70,3 @@ // @dep decorator. | ||
function _defineHidden(value: any) { | ||
function _defineHidden(value?: any) { | ||
return((target: any, key: string) => { | ||
@@ -76,3 +76,3 @@ Object.defineProperty(target, key, { | ||
enumerable: false, | ||
writable: false, | ||
writable: true, | ||
value: value | ||
@@ -92,21 +92,6 @@ }); | ||
interface _LibraryManager { | ||
declare var LibraryManager: { | ||
library: _Library; | ||
} | ||
}; | ||
declare var LibraryManager: _LibraryManager; | ||
declare var Module: any; | ||
declare function mergeInto(target: _Library, extension: _Library): void; | ||
// The HEAP* arrays are the main way to access the C++ heap. | ||
declare var HEAP8: Int8Array; | ||
declare var HEAP16: Int16Array; | ||
declare var HEAP32: Int32Array; | ||
declare var HEAPU8: Uint8Array; | ||
declare var HEAPU16: Uint16Array; | ||
declare var HEAPU32: Uint32Array; | ||
declare var HEAPF32: Float32Array; | ||
declare var HEAPF64: Float64Array; |
{ | ||
"name": "emscripten-library-decorator", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "Decorators for writing Emscripten libraries", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/charto/emscripten-library-decorator", |
5548
71