[−][src]Crate wedpr_macros
Library of shared macros.
Macros
string_to_bytes | Converts a string to a bytes vector if succeeded, otherwise returns false. |
string_to_point | Macros to handle errors and return bool type instead of Result type, which are mainly used to simplify type conversions for Rust FFI. Converts a string to a point if succeeded, otherwise returns false. |
string_to_scalar | Converts a string to a scalar if succeeded, otherwise returns false. |
wedpr_println | Prints debug output that can be disabled by setting a global flag. |
Constants
ENABLE_DEBUG_OUTPUT | Global flag of enabling debug output. |