path: root/src/utils/utils.h
Commit message (Collapse)AuthorAgeFilesLines
* make unused variable macro more portableVincent Sanders2016-02-061-1/+1
* Fix up for new buildsystem. Remove unused compat hacks.John-Mark Bell2014-11-161-13/+0
* Better guard for the Norcroft hackery.John Mark Bell2009-07-021-5/+11
| | | | | | When building for Windows, replace strncasecmp with calls to _strnicmp svn path=/trunk/hubbub/; revision=8266
* Fix broken error checking and return in hubbub_parser_completed.John Mark Bell2009-06-201-0/+7
| | | | | | | | Avoid potentially broken passing of address of an enum where uint32_t * is expected. Pedantic casting for Norcroft. Particularly ugly #ifdef __CC_NORCROFT in utils.h to ensure we have a strncasecmp implementation with that compiler/libraries. svn path=/trunk/hubbub/; revision=7892
* - Add N_ELEMENTS() macro globally rather than using sizeof(x) / ↵Andrew Sidwell2008-08-111-0/+3
| | | | | | | | | sizeof(x[0]) everywhere - In anticipation of interning tag names, make the big map of name->type store them in lowercase - Take advantage of the previous change to optimise away many calls to strlen svn path=/trunk/hubbub/; revision=5010
* Import hubbub -- an HTML parsing library.John Mark Bell2007-06-231-0/+28
Plenty of work still to do (like tree generation ;) svn path=/trunk/hubbub/; revision=3359