Mercurial > pub > dyncall > dyncall
diff dyncallback/dyncall_alloc_wx.h @ 410:7608e34098b0
- cleanups, simplifications, some api clarification, ...
- test cases consistency:
* return status code depending on test results (for actual conformance tests, not stuff that is not an example or hack to check something, ..)
* platform init helper added for some
author | Tassilo Philipp |
---|---|
date | Tue, 05 Oct 2021 21:53:04 +0200 |
parents | f5577f6bf97a |
children | e2899b4ff713 |
line wrap: on
line diff
--- a/dyncallback/dyncall_alloc_wx.h Sun Oct 03 19:41:41 2021 +0200 +++ b/dyncallback/dyncall_alloc_wx.h Tue Oct 05 21:53:04 2021 +0200 @@ -6,7 +6,7 @@ Description: Allocate write/executable memory - Interface License: - Copyright (c) 2007-2018 Daniel Adler <dadler@uni-goettingen.de>, + Copyright (c) 2007-2021 Daniel Adler <dadler@uni-goettingen.de>, Tassilo Philipp <tphilipp@potion-studios.com> Permission to use, copy, modify, and distribute this software for any @@ -35,6 +35,7 @@ extern "C" { #endif +// returns 0 on success DCerror dcAllocWX (DCsize size, void** p); DCerror dcInitExecWX(void* p, DCsize size); void dcFreeWX (void* p, DCsize size);