Skip to content

@pumpkin-plugins/static-hermes-runtime API / wit/generation / readGeneratedFreeFunctions

Function: readGeneratedFreeFunctions() ​

readGeneratedFreeFunctions(pluginHeader): ReadonlySet<string>

Defined in: wit/generation.ts:76

Read the standalone cleanup functions declared by wit-bindgen in a generated C header.

Parameters ​

pluginHeader ​

string

Generated C header containing wit-bindgen declarations.

Returns ​

ReadonlySet<string>

The names of declared cleanup functions.

pumpkin-plugins documentation