mirror of
https://github.com/icewind1991/ivory.git
synced 2026-06-03 18:54:07 +02:00
Added php::info::print_table_row()
This commit is contained in:
parent
b1a4a5fb8d
commit
28ecf2d162
2 changed files with 19 additions and 7 deletions
|
|
@ -32,9 +32,7 @@ pub extern fn php_module_shutdown(type_: c_int, module_number: c_int) -> c_int {
|
|||
#[no_mangle]
|
||||
pub extern fn php_module_info() {
|
||||
print_table_start();
|
||||
unsafe {
|
||||
php_info_print_table_row(2, c_str!("A demo PHP extension written in Rust"), c_str!("enabled"));
|
||||
}
|
||||
print_table_row(&["A demo PHP extension written in Rust", "enabled"]);
|
||||
print_table_end();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue