⚲
Project
General
Profile
Sign in
Register
Home
Projects
Help
Search
:
Wt
All Projects
Wt
Overview
Activity
Roadmap
Issues
Wiki
Forums
Download (564 Bytes)
Bug #7407
» Sample.h
Georg Baumann
, 01/20/2020 09:50 AM
#ifndef WT_TARGET_JAVA
#define SAMPLE_BEGIN(name) \
namespace { \
Wt::WWidget *name() {
#define SAMPLE_BEGIN2(type, name) \
namespace { \
type name() {
#define SAMPLE_END(...) __VA_ARGS__; } }
#else
#ifdef SAMPLE_BEGIN
#undef SAMPLE_BEGIN
#endif
#define SAMPLE_BEGIN(name) \
namespace { \
extern Wt::WWidget *name() {
#ifdef SAMPLE_BEGIN2
#undef SAMPLE_BEGIN2
#endif
#define SAMPLE_BEGIN2(type, name) \
namespace { \
extern type name() {
#ifdef SAMPLE_END
#undef SAMPLE_END
#endif
#define SAMPLE_END(...) __VA_ARGS__; } }
#endif
« Previous
1
2
Next »
(1-1/2)
Loading...