[gupnp] Prevent C++ name mangling in examples
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gupnp] Prevent C++ name mangling in examples
- Date: Wed, 29 May 2013 13:36:24 +0000 (UTC)
commit 87ff32520dcefba988098592d120b1ccce768884
Author: Jens Georg <mail jensge org>
Date: Wed May 29 12:32:20 2013 +0200
Prevent C++ name mangling in examples
examples/light-server.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/examples/light-server.c b/examples/light-server.c
index eecd51d..acfd72d 100644
--- a/examples/light-server.c
+++ b/examples/light-server.c
@@ -15,6 +15,7 @@
static gboolean status;
+G_BEGIN_DECLS
G_MODULE_EXPORT void set_target_cb (GUPnPService *service,
GUPnPServiceAction *action,
gpointer user_data);
@@ -28,7 +29,7 @@ G_MODULE_EXPORT void query_target_cb (GUPnPService *service, char *variable,
GValue *value, gpointer user_data);
G_MODULE_EXPORT void query_status_cb (GUPnPService *service, char *variable,
GValue *value, gpointer user_data);
-
+G_END_DECLS
/*
* Action handlers
*/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]