We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b5a214 commit ebe57ccCopy full SHA for ebe57cc
tests/module.rs
@@ -38,5 +38,5 @@ pub fn hello_world(name: String) -> String {
38
39
#[php_module]
40
pub fn module(module: ModuleBuilder) -> ModuleBuilder {
41
- module
+ module.function(wrap_function!(hello_world))
42
}
tests/sapi.rs
@@ -94,5 +94,5 @@ pub fn hello_world(name: String) -> String {
94
95
96
97
98
0 commit comments