jow- / ucode

JavaScript-like language with optional templating
ISC License
87 stars 24 forks source link

include: add uc_fn_thisval() #135

Closed jow- closed 1 year ago

jow- commented 1 year ago

Can be used to get rid of a layer of pointer indirection when acquiring the function "this" context in resource type handlers.

Signed-off-by: Felix Fietkau nbd@nbd.name [rename "uc_fn_this_val" to "uc_fn_thisval", expand commit message] Signed-off-by: Jo-Philipp Wich jo@mein.io

jow- commented 1 year ago

Superseded by #134