Better CStr Macro
Are you tired of writing .as_ptr() after all your C-string literals?
Simply use the c! macro:
use c;
use ;
Supports any kind of string literal that does not contain a null byte.
Are you tired of writing .as_ptr() after all your C-string literals?
Simply use the c! macro:
use c;
use ;
Supports any kind of string literal that does not contain a null byte.