maix.util
maix.util module
You can use
maix.util
to access this module with MaixPy
This module is generated from MaixPy and MaixCDK
Module
No module
Enum
Variable
Function
init_before_main
def init_before_main() -> None
Initialize before main\nThe function is used to add preparatory operations that need to be executed before the main program runs.
C++ defination code:
void init_before_main()
do_exit_function
def do_exit_function() -> None
exec all of exit function
C++ defination code:
void do_exit_function()
register_atexit
def register_atexit() -> None
Registering default processes that need to be executed on exit
C++ defination code:
void register_atexit()
str_strip
def str_strip(s: str) -> str
strip string, and return new striped string, will alloc new string.
C++ defination code:
std::string str_strip(std::string &s)