WAMR User APIs
Classes | Macros | Typedefs | Functions
lib_export.h File Reference
#include <stdint.h>
Include dependency graph for lib_export.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  NativeSymbol
 

Macros

#define EXPORT_WASM_API(symbol)   { #symbol, (void *)symbol, NULL, NULL }
 
#define EXPORT_WASM_API2(symbol)   { #symbol, (void *)symbol##_wrapper, NULL, NULL }
 
#define EXPORT_WASM_API_WITH_SIG(symbol, signature)   { #symbol, (void *)symbol, signature, NULL }
 
#define EXPORT_WASM_API_WITH_SIG2(symbol, signature)   { #symbol, (void *)symbol##_wrapper, signature, NULL }
 
#define EXPORT_WASM_API_WITH_ATT(symbol, signature, attachment)   { #symbol, (void *)symbol, signature, attachment }
 
#define EXPORT_WASM_API_WITH_ATT2(symbol, signature, attachment)   { #symbol, (void *)symbol##_wrapper, signature, attachment }
 

Typedefs

typedef struct NativeSymbol NativeSymbol
 

Functions

uint32_t get_base_lib_export_apis (NativeSymbol **p_base_lib_apis)
 

Detailed Description

Date
Wed Mar 20 10:46:38 2024

Function Documentation

◆ get_base_lib_export_apis()

uint32_t get_base_lib_export_apis ( NativeSymbol **  p_base_lib_apis)

Get the exported APIs of base lib

Parameters
p_base_lib_apisreturn the exported API array of base lib
Returns
the number of the exported API