2 * Copyright 1999 Karl Nelson <kenelson@ece.ucdavis.edu>
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Library General Public License for more details.
14 * You should have received a copy of the GNU Library General Public
15 * License along with this library; if not, write to the Free
16 * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
18 #include <sigc++/bind.h>
20 #ifdef SIGC_CXX_NAMESPACES
23 #endif //SIGC_CXX_NAMESPACES
25 void AdaptorSlot_::copy_callback(SlotData* sdata,AdaptorNode* node)
27 sdata->list_.insert_direct(sdata->list_.begin(),node);
30 char *p1=(char*)&(node->data_),*p2=(char*)&(sdata->data_);
31 for (i=0;i<sizeof(Callback_)/sizeof(char);i++)
32 { *p1=*p2; p1++; p2++; }
36 #ifdef SIGC_CXX_NAMESPACES