MCPcopy Create free account
hub / github.com/BinomialLLC/basis_universal / alloc

Method alloc

python/basisu_py/wasm/wasm_encoder.py:65–66  ·  view source on GitHub ↗
(self, size)

Source from the content-addressed store, hash-verified

63 # Memory alloc/free
64 # ------------------------------------------------------
65 def alloc(self, size):
66 return self.exports["bu_alloc"](self.store, size)
67
68 def free(self, ptr):
69 self.exports["bu_free"](self.store, ptr)

Callers 2

_compress_nativeMethod · 0.45
_compress_wasmMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected