[libsigc++2] Store sigc++/slot.h in git, don't generate it from m4
- From: Kjell Ahlstedt <kjellahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libsigc++2] Store sigc++/slot.h in git, don't generate it from m4
- Date: Wed, 12 Aug 2015 17:03:30 +0000 (UTC)
commit 9313889bd596afcd9a788061388b26c15d21351c
Author: Kjell Ahlstedt <kjell ahlstedt bredband net>
Date: Wed Aug 12 18:58:57 2015 +0200
Store sigc++/slot.h in git, don't generate it from m4
* sigc++/macros/slot.h.m4: Remove.
* sigc++/slot.h: New in git.
* sigc++/filelist.am: Replace sigc++/macros/slot.h.m4 by sigc++/slot.h.
See https://bugzilla.gnome.org/show_bug.cgi?id=752560#c6
sigc++/filelist.am | 7 +++----
sigc++/macros/slot.h.m4 | 25 -------------------------
sigc++/slot.h | 20 ++++++++++++++++++++
3 files changed, 23 insertions(+), 29 deletions(-)
---
diff --git a/sigc++/filelist.am b/sigc++/filelist.am
index 9e50e1f..ca1deca 100644
--- a/sigc++/filelist.am
+++ b/sigc++/filelist.am
@@ -16,11 +16,9 @@
## along with this library. If not, see <http://www.gnu.org/licenses/>.
# Base (./)
-base_m4 = template.macros.m4 signal.h.m4 slot.h.m4 \
- limit_reference.h.m4
+base_m4 = template.macros.m4 signal.h.m4 limit_reference.h.m4
base_built_cc =
-base_built_h = signal.h slot.h \
- limit_reference.h
+base_built_h = signal.h limit_reference.h
# Functors (functors/)
functors_m4 = functor_trait.h.m4 slot.h.m4 ptr_fun.h.m4 mem_fun.h.m4
@@ -56,6 +54,7 @@ sigc_public_h = \
reference_wrapper.h \
retype_return.h \
signal_base.h \
+ slot.h \
trackable.h \
type_traits.h \
visit_each.h \
diff --git a/sigc++/slot.h b/sigc++/slot.h
new file mode 100644
index 0000000..2490f12
--- /dev/null
+++ b/sigc++/slot.h
@@ -0,0 +1,20 @@
+/* Copyright 2002, The libsigc++ Development Team
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * 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
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library. If not, see <http://www.gnu.org/licenses/>.
+ */
+#ifndef _SIGC_SLOT_H_
+#define _SIGC_SLOT_H_
+
+#include <sigc++/functors/slot.h>
+#endif /* _SIGC_SLOT_H_ */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]