MCPcopy
hub / github.com/pixijs/pixijs / __emval_decref

Function __emval_decref

transcoders/basis/basis_transcoder.js:849–849  ·  view source on GitHub ↗
(handle)

Source from the content-addressed store, hash-verified

847 } const emval_free_list = []; const emval_handle_array = [{}, { value: undefined }, { value: null }, { value: true }, { value: false }];
848
849 function __emval_decref(handle) { if (handle > 4 && --emval_handle_array[handle].refcount === 0) { emval_handle_array[handle] = undefined; emval_free_list.push(handle); } } function count_emval_handles()
850 {
851 let count = 0;
852

Callers 2

fromWireTypeFunction · 0.70
__emval_run_destructorsFunction · 0.70

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected