X-Git-Url: https://projects.mako.cc/source/wikiq/blobdiff_plain/8e1c1afcc765c0c7df502b5451e6035e7272c8c6..f697a134d5d82dbc79638cd625f15c0252cd5afe:/disorder.h diff --git a/disorder.h b/disorder.h index 3458774..91ec47d 100644 --- a/disorder.h +++ b/disorder.h @@ -24,6 +24,10 @@ #ifndef __DISORDER_H_ #define __DISORDER_H_ +#ifdef __cplusplus +extern "C" { +#endif + /** 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); +#ifdef __cplusplus +}; +#endif + #endif