Help save net neutrality! Learn more.
Close

Diff of /AutoPanoSift.h [4d371a] .. [5324d4]  Maximize  Restore

Switch to side-by-side view

--- a/AutoPanoSift.h
+++ b/AutoPanoSift.h
@@ -38,9 +38,6 @@
 #endif
 #include "math.h"
 
-#ifdef __cplusplus
-}
-#endif
 
 #define bool int
 #define true 1
@@ -62,10 +59,10 @@
 #define M_PI 3.14159265358979323846
 #endif
 
-void Write(char* fmt, ...);
-void WriteLine(char* fmt, ...);
-void WriteError(char* fmt, ...);
-void FatalError(char* fmt, ...);
+void Write(const char* fmt, ...);
+void WriteLine(const char* fmt, ...);
+void WriteError(const char* fmt, ...);
+void FatalError(const char* fmt, ...);
 
 char* FileNameToFullPath(char* filename);
 char* FullPathToFileName(char* fullpath);
@@ -122,7 +119,7 @@
 	void** items;
 	void* deletefn;
 	};
-ArrayList* ArrayList_new0(void* deletefn);
+ArrayList* ArrayList_new0(void *);
 void ArrayList_init(ArrayList* self, void* deletefn);
 ArrayList* ArrayList_new(int count, void* deletefn);
 void ArrayList_delete(ArrayList* self);
@@ -802,4 +799,7 @@
 BondBall* MultiMatch_BuildBondBall (MultiMatch* self, ArrayList* ransacFiltered, int bottomDefault);
 
 
+#ifdef __cplusplus
+}
+#endif
 #endif // AUTOPANOS_SIFT_H