[FriBidi-commit] fribidi/lib common.h, 1.9, 1.10 fribidi-bidi-type.c, 1.6, 1.7 fribidi-mem.c, 1.5, 1.6

Behdad Esfahbod behdad at pdx.freedesktop.org
Sat May 22 04:21:42 PDT 2004


Update of /cvs/fribidi/fribidi/lib
In directory pdx:/tmp/cvs-serv30407/lib

Modified Files:
	common.h fribidi-bidi-type.c fribidi-mem.c 
Log Message:
Make gen-mirroring-tab and gen-unicode-version work.  gen.tab/ works now.


Index: common.h
===================================================================
RCS file: /cvs/fribidi/fribidi/lib/common.h,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- a/common.h	22 May 2004 10:35:31 -0000	1.9
+++ b/common.h	22 May 2004 11:21:40 -0000	1.10
@@ -69,7 +69,7 @@
 # endif	/* !fribidi_assert */
 # ifndef __C2MAN__
 #  include <glib/gmacros.h>
-# endif /* !__C2MAN__ */
+# endif	/* !__C2MAN__ */
 # ifndef FRIBIDI_BEGIN_STMT
 #  define FRIBIDI_BEGIN_STMT G_STMT_START {
 #  define FRIBIDI_END_STMT } G_STMT_END
@@ -80,23 +80,23 @@
 # endif	/* !LIKELY */
 # ifndef false
 #  define false FALSE
-# endif /* !false */
+# endif	/* !false */
 # ifndef true
 #  define true TRUE
-# endif /* !true */
+# endif	/* !true */
 #endif /* FRIBIDI_USE_GLIB */
 
 #ifndef false
 # define false (0)
-# endif /* !false */
+# endif	/* !false */
 # ifndef true
 #  define true (!false)
-# endif /* !true */
+# endif	/* !true */
 
 #ifndef NULL
 #  ifdef __cplusplus
 #    define NULL        (0L)
-#  else /* !__cplusplus */
+#  else	/* !__cplusplus */
 #    define NULL        ((void*) 0)
 #  endif /* !__cplusplus */
 #endif /* !NULL */
@@ -116,7 +116,7 @@
 #else /* fribidi_malloc */
 # ifndef fribidi_free
 #  error You should define fribidi_free too when you define fribidi_malloc.
-# endif /* !fribidi_free */
+# endif	/* !fribidi_free */
 #endif /* fribidi_malloc */
 
 /* FRIBIDI_CHUNK_SIZE is the number of bytes in each chunk of memory being

Index: fribidi-bidi-type.c
===================================================================
RCS file: /cvs/fribidi/fribidi/lib/fribidi-bidi-type.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- a/fribidi-bidi-type.c	12 May 2004 08:17:19 -0000	1.6
+++ b/fribidi-bidi-type.c	22 May 2004 11:21:40 -0000	1.7
@@ -110,4 +110,3 @@
 {
   fribidi_get_bidi_types (str, len, type);
 }
-

Index: fribidi-mem.c
===================================================================
RCS file: /cvs/fribidi/fribidi/lib/fribidi-mem.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- a/fribidi-mem.c	7 May 2004 06:30:38 -0000	1.5
+++ b/fribidi-mem.c	22 May 2004 11:21:40 -0000	1.6
@@ -87,7 +87,9 @@
 	(chunk)
 	{
 	  if (mem_chunk->chunk)
-	    * (void **) chunk = (char *) mem_chunk->chunk + mem_chunk->empty_size - mem_chunk->area_size;
+	    *(void **) chunk =
+	      (char *) mem_chunk->chunk + mem_chunk->empty_size -
+	      mem_chunk->area_size;
 	  chunk = (char *) chunk + mem_chunk->atom_size;
 	  mem_chunk->chunk = chunk;
 	  mem_chunk->empty_size = mem_chunk->area_size - mem_chunk->atom_size;
@@ -115,7 +117,8 @@
 
   fribidi_assert (mem_chunk);
 
-  chunk = (char *) mem_chunk->chunk + mem_chunk->empty_size - mem_chunk->area_size;
+  chunk =
+    (char *) mem_chunk->chunk + mem_chunk->empty_size - mem_chunk->area_size;
   while LIKELY
     (chunk)
     {




More information about the FriBidi-Commit mailing list