[clutter-box2dmm: 5/10] Ensure init is in Clutter::Box2D namespace and ensure a compile-time failure if it is not
- From: Aidan Delaney <adelaney src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [clutter-box2dmm: 5/10] Ensure init is in Clutter::Box2D namespace and ensure a compile-time failure if it is not
- Date: Sun, 11 Mar 2012 22:07:10 +0000 (UTC)
commit f4284716aa64b9af31dbaef1cff8e98aaccec1b6
Author: Aidan Delaney <aidan phoric eu>
Date: Sun Mar 11 20:12:20 2012 +0000
Ensure init is in Clutter::Box2D namespace and ensure a compile-time failure if it is not
clutter-box2d/clutter-box2dmm/init.cc | 2 +-
clutter-box2d/clutter-box2dmm/wrap_init.h | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/clutter-box2d/clutter-box2dmm/init.cc b/clutter-box2d/clutter-box2dmm/init.cc
index c79e2d1..fe75a56 100644
--- a/clutter-box2d/clutter-box2dmm/init.cc
+++ b/clutter-box2d/clutter-box2dmm/init.cc
@@ -30,7 +30,7 @@ namespace Box2D
void init(int* nargs, gchar **args[])
{
Clutter::init(nargs, args);
- wrap_init(); //Tells the Glib::wrap() table about the libclutter-box2dmm classes.
+ Clutter::Box2D::wrap_init(); //Tells the Glib::wrap() table about the libclutter-box2dmm classes.
}
} //namespace Box2D
diff --git a/clutter-box2d/clutter-box2dmm/wrap_init.h b/clutter-box2d/clutter-box2dmm/wrap_init.h
index 008d3fb..c677016 100644
--- a/clutter-box2d/clutter-box2dmm/wrap_init.h
+++ b/clutter-box2d/clutter-box2dmm/wrap_init.h
@@ -24,8 +24,9 @@
namespace Clutter
{
-
+ namespace Box2D {
void wrap_init();
+ }
} //namespace Clutter
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]