/usr/lib/Wt/examples/widgetgallery/Sample.h is in witty-examples 3.3.0-1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | #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
|