Skip to content
Snippets Groups Projects
Commit 9033511c authored by James McLaughlin's avatar James McLaughlin
Browse files

Add extern "C" to header file to allow usage from C++ code

parent de101e87
No related branches found
No related tags found
No related merge requests found
......@@ -5,6 +5,11 @@
#ifndef _multipart_parser_h
#define _multipart_parser_h
#ifdef __cplusplus
extern "C"
{
#endif
#include <stdlib.h>
#include <ctype.h>
......@@ -38,4 +43,8 @@ void free_multipart_parser(multipart_parser* p);
size_t multipart_parser_execute(multipart_parser* p, const char *buf, size_t len);
#ifdef __cplusplus
} /* extern "C" */
#endif
#endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment