From 67d3b5846d84d4a2e5a31d4e268bc9d51495d7e0 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Thu, 3 Sep 2009 19:38:20 -0400 Subject: the C implementation properly loads the plugins, then creates a dependancy tree --- c/test.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'c/test.c') diff --git a/c/test.c b/c/test.c index 3a10711..3a9abc9 100644 --- a/c/test.c +++ b/c/test.c @@ -1,10 +1,9 @@ #include "plugin.c" #include "plugin-debug.c" -int main() -{ +int main() { struct plugin_tree *plugins=load_plugins("plugins","plugin.conf"); - print_plugins(plugins->plugins); + _plugin_print(plugins); return 0; } -- cgit v1.2.3-54-g00ecf