mirror of
https://github.com/icewind1991/ivory.git
synced 2026-06-03 10:44:09 +02:00
remove the need to list all exported functions when declaring the module
This commit is contained in:
parent
a0af05508f
commit
34fb187384
7 changed files with 22 additions and 64 deletions
|
|
@ -41,13 +41,5 @@ fn expect_option_bool(arg: Option<bool>) {
|
|||
ivory_module!({
|
||||
name: "tests",
|
||||
version: "0.0.1",
|
||||
functions: &[
|
||||
dump_arg,
|
||||
expect_long,
|
||||
expect_double,
|
||||
expect_string,
|
||||
expect_bool,
|
||||
expect_option_bool
|
||||
],
|
||||
info: &[("test extension", "enabled")]
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue