OVMS3/OVMS.V3/components/duktape/config/config-options/DUK_USE_FUNCPTR_ENC16.yaml

14 lines
419 B
YAML

define: DUK_USE_FUNCPTR_ENC16
introduced: 1.1.0
requires:
- DUK_USE_FUNCPTR16
default: false
tags:
- lowmemory
- experimental
description: >
Use together with DUK_USE_FUNCPTR16 for arbitrary data pointer compression.
DUK_USE_FUNCPTR_DEC16(udata,x) is a macro with a userdata and duk_uint16_t
argument, and a void ptr return value. The userdata argument is the heap
userdata value given at heap creation.