UNPKG

@woosh/meep-engine

Version:

Pure JavaScript game engine. Fully featured and production ready.

9 lines 286 B
/** * Mimics C malloc somewhat, allocates an array of class instances of fixed size * @template T * @param {constructor<T>} Klass * @param {number} count * @returns {T[]} */ export function malloc<T>(Klass: constructor<T>, count: number): T[]; //# sourceMappingURL=malloc.d.ts.map