Skip to main content

NativeArkWeb_OnJavaScriptProxyCallback

Type Alias NativeArkWeb_OnJavaScriptProxyCallback 

Source
pub type NativeArkWeb_OnJavaScriptProxyCallback = Option<unsafe extern "C" fn(argv: *mut *const c_char, argc: i32) -> *mut c_char>;
Expand description

@brief Defines the javascript proxy callback of the web component.

@since 11

Aliased Type§

pub enum NativeArkWeb_OnJavaScriptProxyCallback {
    None,
    Some(unsafe extern "C" fn(*mut *const i8, i32) -> *mut i8),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*mut *const i8, i32) -> *mut i8)

Some value of type T.