* configure.ac: New switch for disabling -O2 (--disable-optimizations).
[cacao.git] / src / toolbox / hashtable.h
index 40d41efcb4537870607945e83f77182079c05888..65b166e41defb5fcdec43d9b46ae216975b756f9 100644 (file)
@@ -105,6 +105,10 @@ struct hashtable {
 
 /* function prototypes ********************************************************/
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /* create hashtable */
 void hashtable_create(hashtable *hash, u4 size);
 
@@ -114,6 +118,10 @@ hashtable *hashtable_resize(hashtable *hash, u4 size);
 /* frees a hashtable */
 void hashtable_free(hashtable *hash);
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* _HASHTABLE_H */