Move preprocessor header to hpp suffix
This commit is contained in:
parent
b6f9bf9ebd
commit
100af04e77
@ -70,6 +70,7 @@ UTIL_FILES = \
|
|||||||
point.hpp \
|
point.hpp \
|
||||||
pool.cpp \
|
pool.cpp \
|
||||||
pool.hpp \
|
pool.hpp \
|
||||||
|
preprocessor.hpp \
|
||||||
random.cpp \
|
random.cpp \
|
||||||
random.hpp \
|
random.hpp \
|
||||||
range.cpp \
|
range.cpp \
|
||||||
|
@ -28,9 +28,6 @@
|
|||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
|
|
||||||
#define CONCATENATE_DETAIL(x, y) x##y
|
|
||||||
#define CONCATENATE(x, y) CONCATENATE_DETAIL(x, y)
|
|
||||||
#define raii CONCATENATE(unique, __COUNTER__)
|
|
||||||
|
|
||||||
#define trace { \
|
#define trace { \
|
||||||
std::cerr << __FILE__ << ":" << __func__ << ":" << __LINE__ << std::endl; \
|
std::cerr << __FILE__ << ":" << __func__ << ":" << __LINE__ << std::endl; \
|
||||||
|
@ -14,11 +14,11 @@
|
|||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with libgim. If not, see <http://www.gnu.org/licenses/>.
|
* along with libgim. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*
|
*
|
||||||
* Copyright 2012 Danny Robson <danny@blubinc.net>
|
* Copyright 2012 Danny Robson <danny@nerdcruft.net>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __PREPROCESSOR_HPP
|
#ifndef __UTIL_PREPROCESSOR_HPP
|
||||||
#define __PREPROCESSOR_HPP
|
#define __UTIL_PREPROCESSOR_HPP
|
||||||
|
|
||||||
#define CONCATENATE_DETAIL(x, y) x##y
|
#define CONCATENATE_DETAIL(x, y) x##y
|
||||||
#define CONCATENATE(x, y) CONCATENATE_DETAIL(x, y)
|
#define CONCATENATE(x, y) CONCATENATE_DETAIL(x, y)
|
Loading…
Reference in New Issue
Block a user