commit | bfcf06d91a87b7ffb8c83e290db0cb6176a167f8 | [log] [tgz] |
---|---|---|
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | Sat Jul 04 16:40:18 2020 -0300 |
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | Sat Jul 04 16:40:18 2020 -0300 |
tree | 0bcba905a2772e536c845e39e9eeed0c7330312c | |
parent | 0280407fc54f9b6225139c5ac27326f98f0cf043 [diff] |
Avoid memory allocation in some functions from 'ltests.c' To allow their use in memory tests, some functions in 'ltests.c' should never allocate memory. To avoid this allocation, the library registers the strings used for status codes, and keeps the variable '_WARN' always defined (with false instead of nil).