Added separated file to store macros

This commit is contained in:
Jin Hu 2017-08-12 21:19:58 +08:00
commit 872ca624fb
4 changed files with 10 additions and 11 deletions

View file

@ -13,12 +13,6 @@ extern {
}
macro_rules! c_str {
($s:expr) => { {
concat!($s, "\0").as_ptr() as *const c_char
} }
}
#[no_mangle]
pub extern fn php_module_startup(type_: c_int, module_number: c_int) -> c_int {
0