Commit 5d44077d authored by Steve Bennett's avatar Steve Bennett
Browse files

core: command (proc) names may now contained embedded nulls



The hash table used to store commands now uses Jim_Obj keys rather
than allocated char *, so embedded nulls are supported.

This means that some API function such as Jim_RenameCommand()
now take Jim_Obj * rather than const char *, however Jim_CreateCommand()
is retained with const char * for convenience and the new Jim_CreateCommandObj()
is added.

This is generally a performance win as the existing Jim_Obj can be used
as the key.

Signed-off-by: default avatarSteve Bennett <steveb@workware.net.au>
parent 7dbb01f6
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment