Update of /cvsroot/boost/boost/libs/python/test
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv28004

Modified Files:
      Tag: RC_1_34_0
        voidptr.cpp 
Log Message:
(merge from head)
removed tabs (inspect tool)

Index: voidptr.cpp
===================================================================
RCS file: /cvsroot/boost/boost/libs/python/test/voidptr.cpp,v
retrieving revision 1.1
retrieving revision 1.1.4.1
diff -u -d -r1.1 -r1.1.4.1
--- voidptr.cpp 11 Feb 2006 22:29:32 -0000      1.1
+++ voidptr.cpp 24 Jul 2006 22:28:41 -0000      1.1.4.1
@@ -12,23 +12,23 @@
 
 void *get()
 {
-       return test;
+    return test;
 }
 
 void *getnull()
 {
-       return 0;
+    return 0;
 }
 
 void use(void *a)
 {
-       if(a!=test)
+    if(a!=test)
         throw std::runtime_error(std::string("failed"));
 }
 
 int useany(void *a)
 {
-       return a ? 1 : 0;
+    return a ? 1 : 0;
 }
 
 
@@ -36,8 +36,8 @@
 
 BOOST_PYTHON_MODULE(voidptr_ext)
 {
-       bpl::def("get", &::get, 
bpl::return_value_policy<bpl::return_opaque_pointer>());
-       bpl::def("getnull", &::getnull, 
bpl::return_value_policy<bpl::return_opaque_pointer>());
-       bpl::def("use", &::use);
-       bpl::def("useany", &::useany);
+    bpl::def("get", &::get, 
bpl::return_value_policy<bpl::return_opaque_pointer>());
+    bpl::def("getnull", &::getnull, 
bpl::return_value_policy<bpl::return_opaque_pointer>());
+    bpl::def("use", &::use);
+    bpl::def("useany", &::useany);
 }


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs

Reply via email to