Skip to main content

WasmEdge_LimitIsEqual

Function WasmEdge_LimitIsEqual 

Source
pub unsafe extern "C" fn WasmEdge_LimitIsEqual(
    Lim1: *const WasmEdge_LimitContext,
    Lim2: *const WasmEdge_LimitContext,
) -> bool
Expand description

Compare the two WasmEdge_LimitContext objects.

If both limits are set without a max value, the comparison of max values will be ignored.

\param Lim1 the first WasmEdge_LimitContext object to compare. \param Lim2 the second WasmEdge_LimitContext object to compare.

\returns true if the contents of two WasmEdge_LimitContext objects are the same, false if not.