[pygccxml-commit] SF.net SVN: pygccxml:[1455] pyplusplus_dev/unittests/data
Brought to you by:
mbaas,
roman_yakovenko
|
From: <rom...@us...> - 2008-11-25 18:53:46
|
Revision: 1455
http://pygccxml.svn.sourceforge.net/pygccxml/?rev=1455&view=rev
Author: roman_yakovenko
Date: 2008-11-25 18:53:36 +0000 (Tue, 25 Nov 2008)
Log Message:
-----------
fixing 64Bit issues in tester
Modified Paths:
--------------
pyplusplus_dev/unittests/data/global_variables_to_be_exported.cpp
pyplusplus_dev/unittests/data/global_variables_to_be_exported.hpp
Modified: pyplusplus_dev/unittests/data/global_variables_to_be_exported.cpp
===================================================================
--- pyplusplus_dev/unittests/data/global_variables_to_be_exported.cpp 2008-11-25 18:52:38 UTC (rev 1454)
+++ pyplusplus_dev/unittests/data/global_variables_to_be_exported.cpp 2008-11-25 18:53:36 UTC (rev 1455)
@@ -21,7 +21,7 @@
int some_value = -7;
int get_some_value(){ return some_value; }
-unsigned int get_some_value_address(){ return (unsigned int)( &some_value ); }
+size_t get_some_value_address(){ return size_t( &some_value ); }
}
Modified: pyplusplus_dev/unittests/data/global_variables_to_be_exported.hpp
===================================================================
--- pyplusplus_dev/unittests/data/global_variables_to_be_exported.hpp 2008-11-25 18:52:38 UTC (rev 1454)
+++ pyplusplus_dev/unittests/data/global_variables_to_be_exported.hpp 2008-11-25 18:53:36 UTC (rev 1455)
@@ -6,6 +6,8 @@
#ifndef __global_variables_to_be_exported_hpp__
#define __global_variables_to_be_exported_hpp__
+#include <cstdlib>
+
namespace global_variables{
enum color{ red, green, blue };
@@ -23,7 +25,7 @@
int get_some_value();
-unsigned int get_some_value_address();
+size_t get_some_value_address();
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|