]> git.tdb.fi Git - ext/sigc++-2.0.git/blob - sigc++/adaptors/lambda/macros/lambda.cc.m4
Import libsigc++ 2.10.8 sources
[ext/sigc++-2.0.git] / sigc++ / adaptors / lambda / macros / lambda.cc.m4
1 dnl Copyright 2002, The libsigc++ Development Team 
2 dnl 
3 dnl This library is free software; you can redistribute it and/or 
4 dnl modify it under the terms of the GNU Lesser General Public 
5 dnl License as published by the Free Software Foundation; either 
6 dnl version 2.1 of the License, or (at your option) any later version. 
7 dnl 
8 dnl This library is distributed in the hope that it will be useful, 
9 dnl but WITHOUT ANY WARRANTY; without even the implied warranty of 
10 dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 
11 dnl Lesser General Public License for more details. 
12 dnl 
13 dnl You should have received a copy of the GNU Lesser General Public 
14 dnl License along with this library; if not, write to the Free Software 
15 dnl Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 
16 dnl
17 divert(-1)
18 include(template.macros.m4)
19 divert(0)dnl
20 #include <sigc++/adaptors/lambda/select.h>
21
22 _DEPRECATE_IFDEF_START
23
24 namespace sigc {
25
26 // sigc::_1 .. sigc::_7 must be kept until we can break ABI.
27 // See https://bugzilla.gnome.org/show_bug.cgi?id=755550
28 // The extern declarations have been moved from select.h, to keep them out of the API.
29 // Without them the const sigc::_1 .. sigc::_7 would be local to this .cc file.
30 FOR(1,CALL_SIZE,[[extern SIGC_API const lambda<internal::lambda_select%1> _%1;
31 ]])
32 FOR(1,CALL_SIZE,[[const lambda<internal::lambda_select%1> _%1;
33 ]])
34 } /* namespace sigc */
35
36 _DEPRECATE_IFDEF_END