imports

package
v1.8.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 20, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Instantiate

func Instantiate(ctx context.Context, r wazero.Runtime, mod wazero.CompiledModule) (api.Closer, error)

Instantiate instantiates the "env" module used by Emscripten into the runtime default namespace.

Notes

  • Closing the wazero.Runtime has the same effect as closing the result.
  • To add more functions to the "env" module, use FunctionExporter.
  • To instantiate into another wazero.Namespace, use FunctionExporter.

Types

type FPDF_FILEACCESS_CB

type FPDF_FILEACCESS_CB struct {
}

func (FPDF_FILEACCESS_CB) Call

func (cb FPDF_FILEACCESS_CB) Call(ctx context.Context, mod api.Module, stack []uint64)

type FPDF_FILEWRITE_CB

type FPDF_FILEWRITE_CB struct {
}

func (FPDF_FILEWRITE_CB) Call

func (cb FPDF_FILEWRITE_CB) Call(ctx context.Context, mod api.Module, stack []uint64)

type FPDF_FORMFILLINFO_FFI_DoGoToAction_CB

type FPDF_FORMFILLINFO_FFI_DoGoToAction_CB struct {
}

func (FPDF_FORMFILLINFO_FFI_DoGoToAction_CB) Call

type FPDF_FORMFILLINFO_FFI_DoURIAction_CB

type FPDF_FORMFILLINFO_FFI_DoURIAction_CB struct {
}

func (FPDF_FORMFILLINFO_FFI_DoURIAction_CB) Call

type FPDF_FORMFILLINFO_FFI_ExecuteNamedAction_CB

type FPDF_FORMFILLINFO_FFI_ExecuteNamedAction_CB struct {
}

func (FPDF_FORMFILLINFO_FFI_ExecuteNamedAction_CB) Call

type FPDF_FORMFILLINFO_FFI_GetCurrentPage_CB

type FPDF_FORMFILLINFO_FFI_GetCurrentPage_CB struct {
}

func (FPDF_FORMFILLINFO_FFI_GetCurrentPage_CB) Call

type FPDF_FORMFILLINFO_FFI_GetLocalTime_CB

type FPDF_FORMFILLINFO_FFI_GetLocalTime_CB struct {
}

func (FPDF_FORMFILLINFO_FFI_GetLocalTime_CB) Call

type FPDF_FORMFILLINFO_FFI_GetPage_CB

type FPDF_FORMFILLINFO_FFI_GetPage_CB struct {
}

func (FPDF_FORMFILLINFO_FFI_GetPage_CB) Call

func (cb FPDF_FORMFILLINFO_FFI_GetPage_CB) Call(ctx context.Context, mod api.Module, stack []uint64)

type FPDF_FORMFILLINFO_FFI_GetRotation_CB

type FPDF_FORMFILLINFO_FFI_GetRotation_CB struct {
}

func (FPDF_FORMFILLINFO_FFI_GetRotation_CB) Call

type FPDF_FORMFILLINFO_FFI_Invalidate_CB

type FPDF_FORMFILLINFO_FFI_Invalidate_CB struct {
}

func (FPDF_FORMFILLINFO_FFI_Invalidate_CB) Call

type FPDF_FORMFILLINFO_FFI_KillTimer_CB

type FPDF_FORMFILLINFO_FFI_KillTimer_CB struct {
}

func (FPDF_FORMFILLINFO_FFI_KillTimer_CB) Call

type FPDF_FORMFILLINFO_FFI_OnChange_CB

type FPDF_FORMFILLINFO_FFI_OnChange_CB struct {
}

func (FPDF_FORMFILLINFO_FFI_OnChange_CB) Call

type FPDF_FORMFILLINFO_FFI_OutputSelectedRect_CB

type FPDF_FORMFILLINFO_FFI_OutputSelectedRect_CB struct {
}

func (FPDF_FORMFILLINFO_FFI_OutputSelectedRect_CB) Call

type FPDF_FORMFILLINFO_FFI_SetCursor_CB

type FPDF_FORMFILLINFO_FFI_SetCursor_CB struct {
}

func (FPDF_FORMFILLINFO_FFI_SetCursor_CB) Call

type FPDF_FORMFILLINFO_FFI_SetTextFieldFocus_CB

type FPDF_FORMFILLINFO_FFI_SetTextFieldFocus_CB struct {
}

func (FPDF_FORMFILLINFO_FFI_SetTextFieldFocus_CB) Call

type FPDF_FORMFILLINFO_FFI_SetTimer_CB

type FPDF_FORMFILLINFO_FFI_SetTimer_CB struct {
}

func (FPDF_FORMFILLINFO_FFI_SetTimer_CB) Call

type FPDF_FORMFILLINFO_Release_CB

type FPDF_FORMFILLINFO_Release_CB struct {
}

func (FPDF_FORMFILLINFO_Release_CB) Call

func (cb FPDF_FORMFILLINFO_Release_CB) Call(ctx context.Context, mod api.Module, stack []uint64)

type FSDK_SetLocaltimeFunction_CB

type FSDK_SetLocaltimeFunction_CB struct {
}

func (FSDK_SetLocaltimeFunction_CB) Call

func (cb FSDK_SetLocaltimeFunction_CB) Call(ctx context.Context, mod api.Module, stack []uint64)

type FSDK_SetTimeFunction_CB

type FSDK_SetTimeFunction_CB struct {
}

func (FSDK_SetTimeFunction_CB) Call

func (cb FSDK_SetTimeFunction_CB) Call(ctx context.Context, mod api.Module, stack []uint64)

type FX_DOWNLOADHINTS_ADD_SEGMENT_CB

type FX_DOWNLOADHINTS_ADD_SEGMENT_CB struct {
}

func (FX_DOWNLOADHINTS_ADD_SEGMENT_CB) Call

func (cb FX_DOWNLOADHINTS_ADD_SEGMENT_CB) Call(ctx context.Context, mod api.Module, stack []uint64)

type FX_FILEAVAIL_IS_DATA_AVAILABLE_CB

type FX_FILEAVAIL_IS_DATA_AVAILABLE_CB struct {
}

func (FX_FILEAVAIL_IS_DATA_AVAILABLE_CB) Call

type FunctionExporter

type FunctionExporter interface {
	// ExportFunctions builds functions to export with a wazero.HostModuleBuilder
	// named "env".
	ExportFunctions(builder wazero.HostModuleBuilder)
}

FunctionExporter configures the functions in the "env" module used by Emscripten.

func NewFunctionExporter

func NewFunctionExporter() FunctionExporter

NewFunctionExporter returns a FunctionExporter object with trace disabled.

type IFSDK_PAUSE_NeedToPauseNow_CB

type IFSDK_PAUSE_NeedToPauseNow_CB struct {
}

func (IFSDK_PAUSE_NeedToPauseNow_CB) Call

func (cb IFSDK_PAUSE_NeedToPauseNow_CB) Call(ctx context.Context, mod api.Module, stack []uint64)

type UNSUPPORT_INFO_HANDLER_CB

type UNSUPPORT_INFO_HANDLER_CB struct {
}

func (UNSUPPORT_INFO_HANDLER_CB) Call

func (cb UNSUPPORT_INFO_HANDLER_CB) Call(ctx context.Context, mod api.Module, stack []uint64)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL