JSVM_CallbackStruct

typedef struct {...} JSVM_CallbackStruct

Overview

Defines the pointer to the data of the native callbacks provided by the user. These functions are exposed to JavaScript via JSVM-API.

Since: 11

Related module: JSVM

Header file: jsvm_types.h

Summary

Member Variables

Name Description
void* data Data of the native callbacks provided by the user.

Member Functions

Name Description
JSVM_Value(JSVM_CDECL* callback)(JSVM_Env env,JSVM_CallbackInfo info) Defines a pointer to the native callback provided by users.

Member Function Description

callback()

JSVM_Value(JSVM_CDECL* callback)(JSVM_Env env,JSVM_CallbackInfo info)

Description

Defines a pointer to the native callback provided by users.