Function regorust::regoBundleSaveBinary

source ยท
pub unsafe extern "C" fn regoBundleSaveBinary(
    rego: *mut regoInterpreter,
    path: *const c_char,
    bundle: *mut regoBundle,
) -> regoEnum
Expand description

@brief Saves a compiled Rego bundle to the specified binary file. @details The bundle will be saved in Rego Bundle Binary format. For more information on the format, see the specification. @param rego The interpreter @param path The path to the binary file where the bundle will be saved. @param bundle The bundle to save. @return REGO_OK if successful, REGO_ERROR otherwise.