projects
/
wikiq
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
made changes necessary to build a static version
[wikiq]
/
disorder.h
diff --git
a/disorder.h
b/disorder.h
index 345877445ed918840d6c521b0e481dab9746e3f3..91ec47d9371c9a7c0d194835b803601a3bb8042e 100644
(file)
--- a/
disorder.h
+++ b/
disorder.h
@@
-24,6
+24,10
@@
#ifndef __DISORDER_H_
#define __DISORDER_H_
#ifndef __DISORDER_H_
#define __DISORDER_H_
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/** Max number of bytes (i.e., tokens) */
#define LIBDO_MAX_BYTES 256
/** Max number of bytes (i.e., tokens) */
#define LIBDO_MAX_BYTES 256
@@
-59,4
+63,8
@@
float get_max_entropy(void);
/** Returns the ratio of entropy to maxentropy */
float get_entropy_ratio(void);
/** Returns the ratio of entropy to maxentropy */
float get_entropy_ratio(void);
+#ifdef __cplusplus
+};
+#endif
+
#endif
#endif
Benjamin Mako Hill
||
Want to submit a patch?