[uim-commit] r1070 - branches/r5rs/uim

yamaken at freedesktop.org yamaken at freedesktop.org
Sat Jul 30 00:30:15 EST 2005


Author: yamaken
Date: 2005-07-29 07:30:11 -0700 (Fri, 29 Jul 2005)
New Revision: 1070

Modified:
   branches/r5rs/uim/uim-scm.h
Log:
* uim/uim-scm.h
  - Revert the change of r1059 to reject SigScheme dependency from
    uim-scm.h interface. uim-scm must not export implementation
    dependency, as I described below in uim-scm.h.

    /*
      uim companion tools should treat lisp object as opaque. struct
      uim_opaque exists only for type check and has no actual definition.
    */

    Instead of defining uim_lisp as SigScheme dependent ScmObj in the
    file, explicitly cast them in uim-scm.c as Siod interface did.


Modified: branches/r5rs/uim/uim-scm.h
===================================================================
--- branches/r5rs/uim/uim-scm.h	2005-07-29 14:26:33 UTC (rev 1069)
+++ branches/r5rs/uim/uim-scm.h	2005-07-29 14:30:11 UTC (rev 1070)
@@ -53,9 +53,7 @@
 
 #include <stdio.h>
 #include "uim.h"
-#include "sigscheme/sigscheme.h"
 
-
 #ifdef __cplusplus
 extern "C" {
 #endif
@@ -65,7 +63,7 @@
   uim companion tools should treat lisp object as opaque. struct
   uim_opaque exists only for type check and has no actual definition.
 */
-typedef ScmObj uim_lisp;
+typedef struct uim_opaque * uim_lisp;
 typedef void (*uim_func_ptr)(void);
 
 #define TRUEP(x) (uim_scm_eq(x, uim_scm_t()))



More information about the uim-commit mailing list