X-Git-Url: https://projects.mako.cc/source/wikiq/blobdiff_plain/ae96c7a9d99998ad0be4bb8aa382b92df32533a5..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