* coord.ixx: New.
* Makefile.am (meta_wrappers): Add coord.ixx.
---
swilena/ChangeLog | 7 +++++++
swilena/Makefile.am | 1 +
swilena/coord.ixx | 36 ++++++++++++++++++++++++++++++++++++
3 files changed, 44 insertions(+), 0 deletions(-)
create mode 100644 swilena/coord.ixx
diff --git a/swilena/ChangeLog b/swilena/ChangeLog
index ec4467c..6de45fa 100644
--- a/swilena/ChangeLog
+++ b/swilena/ChangeLog
@@ -1,5 +1,12 @@
2009-06-01 Roland Levillain <roland(a)lrde.epita.fr>
+ Introduce a variadic version of mln_coord in Swilena.
+
+ * coord.ixx: New.
+ * Makefile.am (meta_wrappers): Add coord.ixx.
+
+2009-06-01 Roland Levillain <roland(a)lrde.epita.fr>
+
* Makefile.am (meta_wrappers, wrappers): Unwrap.
2009-05-29 Guillaume Lazzara <lazzara(a)lrde.epita.fr>
diff --git a/swilena/Makefile.am b/swilena/Makefile.am
index b264147..2922542 100644
--- a/swilena/Makefile.am
+++ b/swilena/Makefile.am
@@ -9,6 +9,7 @@ meta_wrappers = \
ch_value.ixx \
concat.ixx \
concrete.ixx \
+ coord.ixx \
fill.ixx \
image2d.ixx \
int_u.ixx \
diff --git a/swilena/coord.ixx b/swilena/coord.ixx
new file mode 100644
index 0000000..7d45792
--- /dev/null
+++ b/swilena/coord.ixx
@@ -0,0 +1,36 @@
+// -*- C++ -*-
+// Copyright (C) 2009 EPITA Research and Development Laboratory (LRDE)
+//
+// This file is part of the Olena Library. This library is free
+// software; you can redistribute it and/or modify it under the terms
+// of the GNU General Public License version 2 as published by the
+// Free Software Foundation.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this library; see the file COPYING. If not, write to
+// the Free Software Foundation, 51 Franklin Street, Fifth Floor,
+// Boston, MA 02111-1307, USA.
+//
+// As a special exception, you may use this file as part of a free
+// software library without restriction. Specifically, if other files
+// instantiate templates or use macros or inline functions from this
+// file, or you compile this file and link it with other files to
+// produce an executable, this file does not by itself cause the
+// resulting executable to be covered by the GNU General Public
+// License.
+// reasons why the executable file might be covered by the GNU General
+// Public License.
+
+/// \file coord.ixx
+/// \brief A variadic alternative to the macro mln_coord.
+
+/* An equivalent of mln_coord. However, since ``P...'' is a variadic
+ argument, it may include commas, wheras mln_comma may not. */
+%define swl_coord(P...)
+typename P::coord
+%enddef
--
1.6.1.2
Show replies by date