remove the need to list all exported functions when declaring the module

This commit is contained in:
Robin Appelman 2019-04-05 11:02:14 +02:00
commit 34fb187384
7 changed files with 22 additions and 64 deletions

View file

@ -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")]
});