Packets: Fix VariantParser invalid parser access bug
[senf.git] / Utils / preprocessor.hh
index c51605a..915f9be 100644 (file)
@@ -1,8 +1,8 @@
 // $Id$
 //
-// Copyright (C) 2007 
-// Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS)
-// Kompetenzzentrum fuer Satelitenkommunikation (SatCom)
+// Copyright (C) 2007
+// Fraunhofer Institute for Open Communication Systems (FOKUS)
+// Competence Center NETwork research (NET), St. Augustin, GERMANY
 //     Stefan Bund <g0dil@berlios.de>
 //
 // This program is free software; you can redistribute it and/or modify
@@ -23,8 +23,8 @@
 /** \file
     \brief preprocessor public header */
 
-#ifndef HH_preprocessor_
-#define HH_preprocessor_ 1
+#ifndef HH_SENF_Utils_preprocessor_
+#define HH_SENF_Utils_preprocessor_ 1
 
 // Custom includes
 #include <boost/preprocessor/seq/size.hpp>
 //#include "preprocessor.mpp"
 ///////////////////////////////hh.p////////////////////////////////////////
 
+/** \defgroup senfpp Preprocessor meta programming
+
+    preprocessor.hh provides some additional helper macros based on the Boost.Preprocessor library.
+ */
+
+///\{
+///\ingroup senfpp
+
+/** \brief Return last element of a sequence 
+    \hideinitializer 
+ */
 #define SENF_PP_SEQ_BACK(seq) BOOST_PP_SEQ_ELEM(BOOST_PP_DEC(BOOST_PP_SEQ_SIZE(seq)),seq)
 
+///\}
+
 ///////////////////////////////hh.e////////////////////////////////////////
 //#include "preprocessor.cci"
 //#include "preprocessor.ct"