| Age | Commit message (Collapse) | Author | Files | Lines |
|
I think that having structs with the same name be completely
different depending on which part of the program you look at is
even less readable than having functions with same name.
|
|
the return of these functions already give all the necessary
information. this is not c standard library code, we have no need
of such a nonsensical error reporting mechanism
NOTE: since errno needs to be thread local accessing it from
non-libc code ends up being a function call and serves as a
pointless optimization barrier.
|
|
|
|
|
|
Tests whether the given prefix can be extended to exactly one map element
i.e. true iff the prefix map contains exactly one element.
|
|
|
|
|
|
|
|
|
|
|
|
Copies all entries from one map to another, overwriting existing entries.
|
|
|
|
|
|
|
|
It supports lookups based on unique prefixes as well as ordered
iteration. More information about the data structure can be found
at:
http://cr.yp.to/critbit.htm
http://github.com/agl/critbit
http://ccodearchive.net/info/strmap.html
It will be used to implement ":"-commands which means any unique
prefix will be recognized as a command.
It could also be used to implement (runtime) key bindings.
|