summaryrefslogtreecommitdiff
path: root/girepository/cmph/bdz_structs_ph.h
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2010-11-11 15:01:07 -0500
committerColin Walters <walters@verbum.org>2010-12-02 12:49:47 -0500
commita94b6f863e7385871d78d79cd90522f51cdc6283 (patch)
tree1e8ced859b0e83bb3369c41c285a5cb671924d3d /girepository/cmph/bdz_structs_ph.h
parentd17d7913d689a857f006a31a87160b40517019b6 (diff)
downloadgobject-introspection-a94b6f863e7385871d78d79cd90522f51cdc6283.tar.gz
Import CMPH 1.0
This will be used for typelib indexing. See README-CMPH-IMPORT.txt for more information.
Diffstat (limited to 'girepository/cmph/bdz_structs_ph.h')
-rwxr-xr-xgirepository/cmph/bdz_structs_ph.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/girepository/cmph/bdz_structs_ph.h b/girepository/cmph/bdz_structs_ph.h
new file mode 100755
index 00000000..5874a26d
--- /dev/null
+++ b/girepository/cmph/bdz_structs_ph.h
@@ -0,0 +1,26 @@
+#ifndef __CMPH_BDZ_STRUCTS_PH_H__
+#define __CMPH_BDZ_STRUCTS_PH_H__
+
+#include "hash_state.h"
+
+struct __bdz_ph_data_t
+{
+ cmph_uint32 m; //edges (words) count
+ cmph_uint32 n; //vertex count
+ cmph_uint32 r; //partition vertex count
+ cmph_uint8 *g;
+ hash_state_t *hl; // linear hashing
+};
+
+
+struct __bdz_ph_config_data_t
+{
+ CMPH_HASH hashfunc;
+ cmph_uint32 m; //edges (words) count
+ cmph_uint32 n; //vertex count
+ cmph_uint32 r; //partition vertex count
+ cmph_uint8 *g;
+ hash_state_t *hl; // linear hashing
+};
+
+#endif