antiright-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Antiright-devel] antiright/libantiright library.h typedef.h


From: Jeffrey Bedard
Subject: [Antiright-devel] antiright/libantiright library.h typedef.h
Date: Sat, 07 Aug 2010 16:51:38 +0000

CVSROOT:        /sources/antiright
Module name:    antiright
Changes by:     Jeffrey Bedard <jefbed> 10/08/07 16:51:38

Modified files:
        libantiright   : library.h 
Added files:
        libantiright   : typedef.h 

Log message:
        Added typedef.h as the basis for usage of custom base types and 
convenience
        types.  Added typedef.h as an included file in library.h.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/antiright/libantiright/library.h?cvsroot=antiright&r1=1.20&r2=1.21
http://cvs.savannah.gnu.org/viewcvs/antiright/libantiright/typedef.h?cvsroot=antiright&rev=1.1

Patches:
Index: library.h
===================================================================
RCS file: /sources/antiright/antiright/libantiright/library.h,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -b -r1.20 -r1.21
--- library.h   20 Jul 2007 01:26:35 -0000      1.20
+++ library.h   7 Aug 2010 16:51:38 -0000       1.21
@@ -29,7 +29,7 @@
 #include <assert.h>
 #include <stdarg.h>
 #include <glib.h>
-
+#include "typedef.h"
 #include "pipe.h"
 #include "string.h"
 #include "system.h"

Index: typedef.h
===================================================================
RCS file: typedef.h
diff -N typedef.h
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ typedef.h   7 Aug 2010 16:51:38 -0000       1.1
@@ -0,0 +1,30 @@
+/*
+  AntiRight
+  (c) 2010 Jeffrey Bedard
+  address@hidden
+
+  This file is part of AntiRight.
+
+  AntiRight is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License as published by
+  the Free Software Foundation; either version 2 of the License, or
+  (at your option) any later version.
+
+  AntiRight is distributed in the hope that it will be useful,
+  but WITHOUT ANY WARRANTY; without even the implied warranty of
+  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+  GNU General Public License for more details.
+
+  You should have received a copy of the GNU General Public License
+  along with AntiRight; if not, write to the Free Software
+  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  
USA
+*/
+
+#ifndef LIBAR_TYPEDEF_H
+#define LIBAR_TYPEDEF_H
+
+#ifndef __cplusplus
+typedef _Bool bool;
+#endif
+
+#endif /* LIBAR_TYPEDEF_H */



reply via email to

[Prev in Thread] Current Thread [Next in Thread]