Function haybale_pitchfork::hooks::return_public_unconstrained [−][src]
pub fn return_public_unconstrained(
state: &mut State<'_, Backend>,
call: &dyn IsCall
) -> Result<ReturnValue<BV>>
Expand description
This hook will ignore all of the function arguments and simply return an unconstrained public value of the appropriate size, or void for void-typed functions.
This is merely a convenience alias for haybale
’s generic_stub_hook
.