etc
Check-in [dad69da7de]
Not logged in

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:explicit return type
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:dad69da7de42f75c59d604cc8a60d51e58b5f3f9
User & Date: alzwded 2014-04-13 09:52:02
Context
2014-04-13
11:42
added va_list constructor, random tiles sqrt(max) etc Leaf check-in: c28e774f80 user: alzwded tags: trunk
09:52
explicit return type check-in: dad69da7de user: alzwded tags: trunk
2014-04-12
12:28
update readme check-in: 9f3e25f774 user: alzwded tags: trunk, test-tag
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to t2048/test.hxx.

41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
#define TEST_BUNDLE_BEGIN(BUNDLE_NAME) \
static struct { \
    const char* name; \
    int (*fn)(); \
} BUNDLE_NAME[] =

#define TEST_BEGIN(NAME) \
{ #NAME, [&]() { \
    printf("%s: ", #NAME);

#define TEST_END(NAME) \
    return 0; \
               }},

#define TEST_BUNDLE_END(BUNDLE_NAME)







|







41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
#define TEST_BUNDLE_BEGIN(BUNDLE_NAME) \
static struct { \
    const char* name; \
    int (*fn)(); \
} BUNDLE_NAME[] =

#define TEST_BEGIN(NAME) \
{ #NAME, [&]() -> int { \
    printf("%s: ", #NAME);

#define TEST_END(NAME) \
    return 0; \
               }},

#define TEST_BUNDLE_END(BUNDLE_NAME)