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

yamaken at freedesktop.org yamaken at freedesktop.org
Tue Jan 3 03:07:57 PST 2006


Author: yamaken
Date: 2006-01-03 03:07:49 -0800 (Tue, 03 Jan 2006)
New Revision: 2754

Modified:
   branches/r5rs/sigscheme/alloc.c
   branches/r5rs/sigscheme/encoding.c
   branches/r5rs/sigscheme/encoding.h
   branches/r5rs/sigscheme/print.c
   branches/r5rs/sigscheme/storage-gc.c
Log:
* sigscheme/encoding.h
  - Remove a FIXME comment related to stdint.h
* sigscheme/encoding.c
  - Ditto

* sigscheme/alloc.c
* sigscheme/storage-gc.c
* sigscheme/print.c
  - Include stdint.h
  - (uintptr_t): Removed


Modified: branches/r5rs/sigscheme/alloc.c
===================================================================
--- branches/r5rs/sigscheme/alloc.c	2006-01-03 10:26:44 UTC (rev 2753)
+++ branches/r5rs/sigscheme/alloc.c	2006-01-03 11:07:49 UTC (rev 2754)
@@ -35,6 +35,7 @@
 /*=======================================
   System Include
 =======================================*/
+#include <stdint.h> /* FIXME: make C99-independent */
 #include <stdlib.h>
 #include <assert.h>
 
@@ -47,10 +48,6 @@
 /*=======================================
   File Local Macro Definitions
 =======================================*/
-#if 1
-/* FIXME: replace with C99-independent stdint.h */
-typedef unsigned long uintptr_t;
-#endif
 
 /*=======================================
   File Local Type Definitions

Modified: branches/r5rs/sigscheme/encoding.c
===================================================================
--- branches/r5rs/sigscheme/encoding.c	2006-01-03 10:26:44 UTC (rev 2753)
+++ branches/r5rs/sigscheme/encoding.c	2006-01-03 11:07:49 UTC (rev 2754)
@@ -58,7 +58,6 @@
 /*=======================================
   File Local Type Definitions
 =======================================*/
-/* FIXME: replace with C99-independent stdint */
 typedef unsigned char uchar;
 typedef unsigned int  uint;
 

Modified: branches/r5rs/sigscheme/encoding.h
===================================================================
--- branches/r5rs/sigscheme/encoding.h	2006-01-03 10:26:44 UTC (rev 2753)
+++ branches/r5rs/sigscheme/encoding.h	2006-01-03 11:07:49 UTC (rev 2754)
@@ -145,8 +145,6 @@
 typedef const ScmCharCodecVTbl ScmCharCodec;
 
 typedef int (*ScmCharCodecMethod_statefulp)(void);
-/* FIXME: replace (char *) with (uchar *) once C99-independent stdint is
-   introduced */
 typedef const char *(*ScmCharCodecMethod_encoding)(void);
 typedef enum ScmCodedCharSet (*ScmCharCodecMethod_ccs)(void);
 typedef int (*ScmCharCodecMethod_char_len)(int ch);

Modified: branches/r5rs/sigscheme/print.c
===================================================================
--- branches/r5rs/sigscheme/print.c	2006-01-03 10:26:44 UTC (rev 2753)
+++ branches/r5rs/sigscheme/print.c	2006-01-03 11:07:49 UTC (rev 2754)
@@ -34,6 +34,7 @@
 /*=======================================
   System Include
 =======================================*/
+#include <stdint.h> /* FIXME: make C99-independent */
 #include <stdio.h>
 #include <stdarg.h>
 
@@ -46,11 +47,6 @@
 /*=======================================
   File Local Struct Declarations
 =======================================*/
-#if 1
-/* FIXME: replace with C99-independent stdint.h */
-typedef unsigned long uintptr_t;
-#endif
-
 enum OutputType {
     AS_WRITE,   /* string is enclosed by ", char is written using #\ notation. */
     AS_DISPLAY, /* string and char is written as-is */

Modified: branches/r5rs/sigscheme/storage-gc.c
===================================================================
--- branches/r5rs/sigscheme/storage-gc.c	2006-01-03 10:26:44 UTC (rev 2753)
+++ branches/r5rs/sigscheme/storage-gc.c	2006-01-03 11:07:49 UTC (rev 2754)
@@ -56,6 +56,7 @@
 /*=======================================
   System Include
 =======================================*/
+#include <stdint.h> /* FIXME: make C99-independent */
 #include <string.h>
 #include <stdlib.h>
 #include <setjmp.h>
@@ -69,11 +70,6 @@
 /*=======================================
   File Local Struct Declarations
 =======================================*/
-#if 1
-/* FIXME: replace with C99-independent stdint.h */
-typedef unsigned long uintptr_t;
-#endif
-
 typedef ScmCell *ScmObjHeap;
 
 /*=======================================



More information about the uim-commit mailing list