diff options
| author | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2024-07-01 11:06:39 +0000 |
|---|---|---|
| committer | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2024-07-01 11:06:39 +0000 |
| commit | 1fb0565148dbdf8f6969b3c8900e9882cb2839ef (patch) | |
| tree | 75fbe97815ce211d84aab645ced5d4b3fbc680d4 /parser/output/raylib_api.json | |
| parent | 2bc75b877a253f496696c1b870483ed919d4e709 (diff) | |
| download | raylib-1fb0565148dbdf8f6969b3c8900e9882cb2839ef.tar.gz raylib-1fb0565148dbdf8f6969b3c8900e9882cb2839ef.zip | |
Update raylib_api.* by CI
Diffstat (limited to 'parser/output/raylib_api.json')
| -rw-r--r-- | parser/output/raylib_api.json | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/parser/output/raylib_api.json b/parser/output/raylib_api.json index e9ec0787..a93d7c49 100644 --- a/parser/output/raylib_api.json +++ b/parser/output/raylib_api.json @@ -61,15 +61,21 @@ "description": "" }, { + "name": "MAX_ALLOC_SIZE", + "type": "INT_MATH", + "value": "1024*1024", + "description": "1GB of maximum allocation data" + }, + { "name": "RL_MALLOC(sz)", "type": "MACRO", - "value": "malloc(sz)", + "value": "((sz > MAX_ALLOC_SIZE)? malloc(sz) : NULL)", "description": "" }, { "name": "RL_CALLOC(n,sz)", "type": "MACRO", - "value": "calloc(n,sz)", + "value": "((n*sz > MAX_ALLOC_SIZE)? calloc(n,sz) : NULL)", "description": "" }, { |
