aboutsummaryrefslogtreecommitdiffstats
path: root/libshiboken
diff options
context:
space:
mode:
authorMarcelo Lira <marcelo.lira@openbossa.org>2011-08-10 00:59:19 -0300
committerHugo Parente Lima <hugo.pl@gmail.com>2012-03-08 16:17:10 -0300
commit9c6b541ceef3039e9e19a1d9a12223851a849cf6 (patch)
treef3bf84cc9b86205fa2f7d7d5951b1e2dff29fcdd /libshiboken
parent711ee3d4169acca59b87df61b9ccb26d74a329b4 (diff)
Improved the generation of argument conversion in modified functions.
Added the SBK_UNUSED macro to libshiboken to prevent compilation warnings. An unit test was added. Reviewed by Hugo Parente <hugo.lima@openbossa.org> Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
Diffstat (limited to 'libshiboken')
-rw-r--r--libshiboken/helper.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libshiboken/helper.h b/libshiboken/helper.h
index f179b2d7c..13c119afc 100644
--- a/libshiboken/helper.h
+++ b/libshiboken/helper.h
@@ -28,6 +28,8 @@
#include "conversions.h"
#include "autodecref.h"
+#define SBK_UNUSED(x) (void)x;
+
namespace Shiboken
{