summaryrefslogtreecommitdiff
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* includes: Use new STMTEXPR supportDaniel Silverstone2020-03-261-14/+57
| | | | | | | With this new support, we can ensure we don't use statement expressions unless the toolchain tells us we can. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Remove global context if no strings leakDaniel Silverstone2019-09-071-0/+4
| | | | | | | | | | If when we iterate the context there're no strings, then we can delete the context too, which reduces false-positives on leak checkers. Closes #2490 Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Enable lwc_string_caseless_hash_value function, and include stddef.h for NULL.Michael Drake2016-10-151-2/+2
|
* Add function to get caseless hash value for an lwc string.Michael Drake2016-10-151-0/+24
|
* Add lwc_string_tolower() API.Michael Drake2016-01-301-0/+10
|
* Fix doxygen errors in header.Vincent Sanders2015-09-011-23/+23
|
* Update to include asserts in interface macros, and test successfullyDaniel Silverstone2015-07-181-5/+7
|
* Rework the majority of wapcaplet's interface to be macros. This removes ↵Daniel Silverstone2012-03-291-18/+77
| | | | | | *many* function call overheads but does require GNUish braced-group expressions. svn path=/trunk/libwapcaplet/; revision=13777
* Constify lwc_string * param to lwc_string_length and lwc_string_data.Michael Drake2011-10-291-2/+2
| | | | svn path=/trunk/libwapcaplet/; revision=13092
* Fix gcc2 warning: comma at end of enumerator list.François Revel2011-01-201-1/+1
| | | | svn path=/trunk/libwapcaplet/; revision=11428
* Remove initialisation, use system allocation functions. r=vinceDaniel Silverstone2010-12-041-34/+2
| | | | svn path=/trunk/libwapcaplet/; revision=10963
* Sprinkle some C++ scoping aroundJohn Mark Bell2010-10-231-0/+9
| | | | svn path=/trunk/libwapcaplet/; revision=10901
* Add simple iteration API and also add brackets in lwc_string_isequalDaniel Silverstone2010-03-271-1/+17
| | | | svn path=/trunk/libwapcaplet/; revision=10163
* Simplify libwapcaplet and remove context objects.Daniel Silverstone2010-03-271-60/+114
| | | | | | | | | | Remove the lwc_context type from the API and ensure that all strings belong to the one internment context. This removes a lot of API and simplifies a lot of function calls, however it does mean that clients of the library *MUST* be better at reffing and unreffing strings or it'll explode. svn path=/trunk/libwapcaplet/; revision=10159
* Keep a record of the amount of memory consumed by a lwc_context.John Mark Bell2009-07-281-0/+5
| | | | svn path=/trunk/libwapcaplet/; revision=8834
* Guarantee to NUL-terminate interned strings.John Mark Bell2009-07-251-0/+2
| | | | svn path=/trunk/libwapcaplet/; revision=8784
* Merge Bo's libwapcaplet lwc_string_hash_value function and tests. r=dsilversDaniel Silverstone2009-06-231-0/+11
| | | | svn path=/trunk/libwapcaplet/; revision=7927
* Lose trailing comma.John Mark Bell2009-04-151-1/+1
| | | | | | GCC 2.95 compatibility. svn path=/trunk/libwapcaplet/; revision=7098
* Add simple accessors for data and lengthDaniel Silverstone2009-02-141-0/+16
| | | | svn path=/trunk/libwapcaplet/; revision=6509
* 100% of tests pass. Ship it.Daniel Silverstone2009-02-141-3/+4
| | | | svn path=/trunk/libwapcaplet/; revision=6497
* Initial untested API and implementationDaniel Silverstone2009-02-141-0/+113
svn path=/trunk/libwapcaplet/; revision=6495