Mercurial > pub > dyncall > dyncall
comparison test/thunk/test_thunk.c @ 155:bbefb8b8e74c
- sparc32 thunk code
- replaced some c++ comments with old c ones
- whitespace cosmetics
author | cslag |
---|---|
date | Thu, 24 Nov 2016 23:47:31 +0000 |
parents | f533c5ad1b6e |
children | ff0c8ee2bbc7 |
comparison
equal
deleted
inserted
replaced
154:3729a99ef03c | 155:bbefb8b8e74c |
---|---|
49 longjmp(jbuf, 1); | 49 longjmp(jbuf, 1); |
50 } | 50 } |
51 | 51 |
52 void my_entry(const char* text) | 52 void my_entry(const char* text) |
53 { | 53 { |
54 printf("%s: 1\n", text); | 54 printf("%s: %d\n", text, strcmp(text, "wx") == 0 || strcmp(text, "stack") == 0 || strcmp(text, "heap") == 0); /* @@@ */ |
55 } | 55 } |
56 | 56 |
57 typedef void (printfun)(const char*); | 57 typedef void (printfun)(const char*); |
58 | 58 |
59 void test_stack() | 59 void test_stack() |