diff options
author | Jörg Frings-Fürst <debian@jff-webhsoting.net> | 2019-07-20 08:53:35 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhsoting.net> | 2019-07-20 08:53:35 +0200 |
commit | 63e6ffd8dd8412282e1beccb9a01e33aa57c13f0 (patch) | |
tree | f489a0246d74ed4b63c39eff4e6c72f9d5bd862a /src/UriMemory.h | |
parent | d289e0569e0317ffd228d8d0bf9f4a7a7a4fc41c (diff) | |
parent | 1bd65df2de001b173a8d6a08397043225ad115ad (diff) |
Merge branch 'release/debian/0.9.3-1'debian/0.9.3-1
Diffstat (limited to 'src/UriMemory.h')
-rw-r--r-- | src/UriMemory.h | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/src/UriMemory.h b/src/UriMemory.h index c40c072..86bf405 100644 --- a/src/UriMemory.h +++ b/src/UriMemory.h @@ -37,6 +37,11 @@ * OF THE POSSIBILITY OF SUCH DAMAGE. */ +#ifndef URI_MEMORY_H +#define URI_MEMORY_H 1 + + + #ifndef URI_DOXYGEN # include <uriparser/Uri.h> #endif @@ -54,6 +59,20 @@ -extern UriMemoryManager defaultMemoryManager; +#ifdef __cplusplus +# define URIPARSER_EXTERN extern "C" +#else +# define URIPARSER_EXTERN extern +#endif + +URIPARSER_EXTERN UriMemoryManager defaultMemoryManager; + +#undef URIPARSER_EXTERN + + UriBool uriMemoryManagerIsComplete(const UriMemoryManager * memory); + + + +#endif /* URI_MEMORY_H */ |