libgit2/include/git
Shawn O. Pearce b7c891c629 Add git_oid_cpy, git_oid_cmp as inline functions
These are easily built off the standard C library functions memcpy
and memcmp.  By marking these inline we stand a good chance of
the C compiler replacing the entire thing with tight machine code,
because many compilers will actually inline a memcmp or memcpy when
the 3rd argument (the size) is a constant value.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
2008-11-03 18:43:04 -08:00
..
os Add git_oid_cpy, git_oid_cmp as inline functions 2008-11-03 18:43:04 -08:00
commit.h Create a micro abstraction around the POSIX file APIs 2008-11-01 16:53:06 -07:00
common.h Add git_oid_cpy, git_oid_cmp as inline functions 2008-11-03 18:43:04 -08:00
config.h.in Create a micro abstraction around the POSIX file APIs 2008-11-01 16:53:06 -07:00
odb.h Correct indentation in git/odb.h 2008-11-03 18:40:06 -08:00
oid.h Add git_oid_cpy, git_oid_cmp as inline functions 2008-11-03 18:43:04 -08:00
revwalk.h Switch the license from BSD to GPL+libgcc exception 2008-11-01 15:55:47 -07:00