Author: shadowmaster
Date: Tue Mar 31 18:05:26 2009
New Revision: 34335
URL: http://svn.gna.org/viewcvs/wesnoth?rev=34335&view=rev
Log:
Little header file that defines a macro for stub code.
Added:
trunk/src/stub.hpp
Added: trunk/src/stub.hpp
URL: http://svn.gna.org/viewcvs/wesnoth/trunk/src/stub.hpp?rev=34335&view=auto
==============================================================================
--- trunk/src/stub.hpp (added)
+++ trunk/src/stub.hpp Tue Mar 31 18:05:26 2009
@@ -1,0 +1,11 @@
+/* $Id$ */
+/*
+ By Ignacio R. Morelle <[email protected]>
+ Part of the Battle for Wesnoth Project http://www.wesnoth.org/
+
+ This source code file is not copyrighted.
+*/
+
+#include <boost/current_function.hpp>
+#define STUB() \
+ std::cerr << "Ouch[stub]: " << BOOST_CURRENT_FUNCTION << " [at " <<
__FILE__ << ":" << __LINE__ << "]\n"
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits