[uim-commit] r206 - trunk/uim

yamaken@freedesktop.org yamaken@freedesktop.org
Sun Jan 9 19:37:26 PST 2005


Author: yamaken
Date: 2005-01-09 19:37:24 -0800 (Sun, 09 Jan 2005)
New Revision: 206

Modified:
   trunk/uim/plugin.c
Log:
* uim/plugin.c
  - (plugin_load): Remove unneeded uim_scm_gc_protect_stack() Since
    the function is always called from Scheme execution context


Modified: trunk/uim/plugin.c
===================================================================
--- trunk/uim/plugin.c	2005-01-10 02:13:07 UTC (rev 205)
+++ trunk/uim/plugin.c	2005-01-10 03:37:24 UTC (rev 206)
@@ -153,15 +153,13 @@
   uim_scm_require_file(plugin_scm_filename);
 
   {
-    uim_lisp form, stack_start;
-    uim_scm_gc_protect_stack(&stack_start);
+    uim_lisp form;
     form = uim_scm_list5(uim_scm_make_symbol("plugin-list-append"),
 		         _name,
 		         uim_scm_make_ptr(library),
 			 uim_scm_make_ptr((void *)plugin_instance_init),
 			 uim_scm_make_ptr((void *)plugin_instance_quit));
     uim_scm_eval(form);
-    uim_scm_gc_unprotect_stack(&stack_start);
   }
   free(plugin_scm_filename);
   free(plugin_name);



More information about the Uim-commit mailing list