[uim-commit] r2761 - branches/r5rs/sigscheme

yamaken at freedesktop.org yamaken at freedesktop.org
Tue Jan 3 04:51:12 PST 2006


Author: yamaken
Date: 2006-01-03 04:51:02 -0800 (Tue, 03 Jan 2006)
New Revision: 2761

Modified:
   branches/r5rs/sigscheme/storage-fatty.h
Log:
* sigscheme/storage-fatty.h
  - (struct ScmCell_): Rename member names
  - (SCM_SAL_FUNC_TYPECODE, SCM_SAL_FUNC_CFUNC,
    SCM_SAL_VALUEPACKET_VALUES): Follow the renamings


Modified: branches/r5rs/sigscheme/storage-fatty.h
===================================================================
--- branches/r5rs/sigscheme/storage-fatty.h	2006-01-03 12:42:42 UTC (rev 2760)
+++ branches/r5rs/sigscheme/storage-fatty.h	2006-01-03 12:51:02 UTC (rev 2761)
@@ -96,8 +96,8 @@
 
         struct {
             enum ScmFuncTypeCode type;
-            ScmFuncType func;
-        } func;
+            ScmFuncType ptr;
+        } function;
 
         struct {
             ScmObj exp;
@@ -121,8 +121,8 @@
 
 #if !SCM_USE_VALUECONS
         struct {
-            ScmObj values;
-        } value_pack;
+            ScmObj lst;
+        } value_packet;
 #endif
 
         struct {
@@ -251,9 +251,9 @@
 
 #define SCM_SAL_FUNCP(a) (SCM_TYPE(a) == ScmFunc)
 #define SCM_SAL_ENTYPE_FUNC(a)     (SCM_ENTYPE((a), ScmFunc))
-#define SCM_SAL_FUNC_TYPECODE(a) (SCM_AS_FUNC(a)->obj.func.type)
+#define SCM_SAL_FUNC_TYPECODE(a) (SCM_AS_FUNC(a)->obj.function.type)
 #define SCM_SAL_FUNC_SET_TYPECODE(a, type) (SCM_FUNC_TYPECODE(a) = (type))
-#define SCM_SAL_FUNC_CFUNC(a)   (SCM_AS_FUNC(a)->obj.func.func)
+#define SCM_SAL_FUNC_CFUNC(a)   (SCM_AS_FUNC(a)->obj.function.ptr)
 #define SCM_SAL_FUNC_SET_CFUNC(a, func)     (SCM_FUNC_CFUNC(a) = (ScmFuncType)(func))
 
 #define SCM_SAL_CLOSUREP(a) (SCM_TYPE(a) == ScmClosure)
@@ -297,7 +297,7 @@
 #else /* SCM_USE_VALUECONS */
 #define SCM_SAL_VALUEPACKETP(a)          (SCM_TYPE(a) == ScmValuePacket)
 #define SCM_SAL_ENTYPE_VALUEPACKET(a)        (SCM_ENTYPE((a), ScmValuePacket))
-#define SCM_SAL_VALUEPACKET_VALUES(a)    (SCM_AS_VALUEPACKET(a)->obj.value_pack.values)
+#define SCM_SAL_VALUEPACKET_VALUES(a)    (SCM_AS_VALUEPACKET(a)->obj.value_packet.lst)
 #define SCM_SAL_VALUEPACKET_SET_VALUES(a, v) (SCM_VALUEPACKET_VALUES(a) = (v))
 #endif /* SCM_USE_VALUECONS */
 



More information about the uim-commit mailing list