lyx_mirror/sigc++/marshal.cc
Lars Gullik Bjønnes 6d678c927c more FILMagain stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@808 a592a061-630c-0410-9148-cb99ea01b6c8
2000-06-12 11:55:12 +00:00

39 lines
474 B
C++

#include <sigc++/marshal.h>
#ifdef SIGC_PTHREADS
#include <sigc++/thread.h>
#endif
#ifdef SIGC_CXX_NAMESPACES
namespace SigC
{
#endif
int ignore_(int value)
{
#ifdef SIGC_PTHREADS
static Threads::Private<int> ignore;
#else
static int ignore;
#endif
int rc=ignore;
ignore=value;
return rc;
}
int RetCode::check_ignore()
{
return ignore_(0);
}
void RetCode::ignore()
{
ignore_(1);
}
#ifdef SIGC_CXX_NAMESPACES
} /* namespace sigc */
#endif