|
GnuCash 2.4.99
|
00001 /* futuremodsys.c : a gnucash module compiled with a future version of 00002 * the module system. gnucash should not be able to load it. but if 00003 * it doesn't notice that, the actual interface is compatible with 00004 * version 0 so it will load all the way before failing. */ 00005 00006 #include <stdio.h> 00007 #include <gmodule.h> 00008 00009 #include "gnc-module-api.h" 00010 GNC_MODULE_API_DECL(libgncmod_futuremodsys) 00011 00012 int libgncmod_futuremodsys_gnc_module_system_interface = 123456; 00013 00014 int libgncmod_futuremodsys_gnc_module_current = 0; 00015 int libgncmod_futuremodsys_gnc_module_age = 0; 00016 int libgncmod_futuremodsys_gnc_module_revision = 0; 00017 00018 00019 char * 00020 libgncmod_futuremodsys_gnc_module_path(void) 00021 { 00022 return g_strdup("gnucash/futuremodsys"); 00023 } 00024 00025 char * 00026 libgncmod_futuremodsys_gnc_module_description(void) 00027 { 00028 return g_strdup("this is a broken future module"); 00029 } 00030 00031 int 00032 libgncmod_futuremodsys_gnc_module_init(int refcount) 00033 { 00034 return TRUE; 00035 }
1.7.4