don't decrease resource stack sizes when they are already zero
[lttv.git] / ltt / branches / poly / lttv / lttv / module.h
index e88b7b92afaee406a5f3bd2085cb38331156236a..679314056e4c5a78b760cb77ec3f1f9c65f2a00b 100644 (file)
@@ -111,7 +111,8 @@ LttvModule *lttv_module_prerequisite_get(LttvModule *m, unsigned i);
 
 LttvLibrary *lttv_library_load(char *name, GError **error);
 
-void lttv_library_unload(LttvLibrary *l);
+/* Returns 0 if library is unloaded, > 0 otherwise */
+gint lttv_library_unload(LttvLibrary *l);
 
 
 /* Obtain information about the library */
@@ -136,9 +137,9 @@ LttvLibrary *lttv_library_get(unsigned i);
 
 /* Add or remove directory names to the library search path */
 
-void lttv_library_path_add(char *name);
+void lttv_library_path_add(const char *name);
 
-void lttv_library_path_remove(char *name);
+void lttv_library_path_remove(const char *name);
 
 
 /* List the directory names in the library search path */
This page took 0.023692 seconds and 4 git commands to generate.