git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
use poppler version of jbig2stream (fixes segv)
[swftools.git]
/
lib
/
pdf
/
bbox.h
diff --git
a/lib/pdf/bbox.h
b/lib/pdf/bbox.h
index
053472b
..
25675c8
100644
(file)
--- a/
lib/pdf/bbox.h
+++ b/
lib/pdf/bbox.h
@@
-1,6
+1,10
@@
#ifndef __bbox_h__
#define __bbox_h__
#ifndef __bbox_h__
#define __bbox_h__
+#ifdef __cplusplus
+extern "C" {
+#endif
+
typedef struct _ibbox {
int xmin,ymin,xmax,ymax;
struct _ibbox*next;
typedef struct _ibbox {
int xmin,ymin,xmax,ymax;
struct _ibbox*next;
@@
-10,4
+14,8
@@
ibbox_t* ibbox_new(int x1, int y1, int x2, int y2);
void ibbox_destroy(ibbox_t*b);
ibbox_t*get_bitmap_bboxes(unsigned char*alpha, int width, int height);
void ibbox_destroy(ibbox_t*b);
ibbox_t*get_bitmap_bboxes(unsigned char*alpha, int width, int height);
+#ifdef __cplusplus
+}
+#endif
+
#endif //__bbox_h__
#endif //__bbox_h__