Mercurial > pub > dyncall > dyncall
comparison test/malloc_wx/test_wx.c @ 584:f76dbea7a0c1
- changed test output for consistency
author | Tassilo Philipp |
---|---|
date | Tue, 13 Sep 2022 17:32:24 +0200 |
parents | f5577f6bf97a |
children |
comparison
equal
deleted
inserted
replaced
583:4d9d4fcbf415 | 584:f76dbea7a0c1 |
---|---|
39 err = dcAllocWX(23, &ptr); | 39 err = dcAllocWX(23, &ptr); |
40 if(!err) { | 40 if(!err) { |
41 err = dcInitExecWX(ptr, 23); | 41 err = dcInitExecWX(ptr, 23); |
42 dcFreeWX(ptr, 23); | 42 dcFreeWX(ptr, 23); |
43 } | 43 } |
44 printf("result: test_alloc_wx: %d\n", (!err) ? 1 : 0 ); | 44 printf("result: malloc_wx: %d\n", (!err) ? 1 : 0 ); |
45 | 45 |
46 dcTest_deInitPlatform(); | 46 dcTest_deInitPlatform(); |
47 | 47 |
48 return err; | 48 return err; |
49 } | 49 } |