From 4d42efafcb4d2ffed6af12a1501f65beab3593aa Mon Sep 17 00:00:00 2001 From: bustico Date: Tue, 25 Jan 2011 17:34:23 +0000 Subject: fix some files so they can be compiled with g++ without warning(s) --- src/ivybind.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/ivybind.h') diff --git a/src/ivybind.h b/src/ivybind.h index 44004dd..e815771 100644 --- a/src/ivybind.h +++ b/src/ivybind.h @@ -18,6 +18,10 @@ typedef struct _binding *IvyBinding; +#ifdef __cplusplus +extern "C" { +#endif + /* Mise en place des Filtrages */ int IvyBindingGetFilterCount(); void IvyBindingSetFilter( int argc, const char ** argv ); @@ -33,3 +37,7 @@ int IvyBindingExec( IvyBinding _bind, const char * message ); /* Get Argument */ void IvyBindingMatch( IvyBinding _bind, const char *message, int argnum, int *arglen, const char **arg ); +#ifdef __cplusplus +} +#endif + -- cgit v1.1