• Max Kellermann's avatar
    added xfree() which takes a const pointer · f42de62a
    Max Kellermann authored
    Unfortunately, the C standard postulates that the argument to free()
    must be non-const.  This does not makes sense, and virtually prevents
    every pointer which must be freed at some time to be non-const.  Use
    the deconst hack (sorry for that) to allow us to free constant
    pointers.
    f42de62a
utils.h 2.61 KB