shithub: jbig2

Download patch

ref: a2eca8001a79d7df3c848139519bf7b7b9778113
parent: ce1259d7b14345427766fb5c541b41b2c5e1f203
author: giles <giles@ded80894-8fb9-0310-811b-c03f3676ab4d>
date: Mon Feb 11 21:19:08 EST 2002

Standard protection against multiple and C++ inclusion.


git-svn-id: http://svn.ghostscript.com/jbig2dec/trunk@39 ded80894-8fb9-0310-811b-c03f3676ab4d

--- a/jbig2dec.h
+++ b/jbig2dec.h
@@ -8,9 +8,17 @@
     the Free Software Foundation; either version 2 of the License, or
     (at your option) any later version.
 
-    $Id: jbig2dec.h,v 1.3 2001/06/12 09:15:13 giles Exp $
+    $Id: jbig2dec.h,v 1.4 2002/02/12 02:19:08 giles Exp $
 */
 
+#ifndef JBIG2DEC_H
+#define JBIG2DEC_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
 typedef unsigned char byte;
 typedef int bool;
 typedef unsigned int uint32;
@@ -42,3 +50,10 @@
 struct _Jbig2WordStream {
   uint32 (*get_next_word) (Jbig2WordStream *self, int offset);
 };
+
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* JBIG2DEC_H */