summaryrefslogtreecommitdiff
path: root/include/git2/errors.h
diff options
context:
space:
mode:
authorCarlos Martín Nieto <carlos@cmartin.tk>2011-06-17 16:38:21 +0200
committerCarlos Martín Nieto <carlos@cmartin.tk>2011-06-26 20:43:45 +0200
commit4e913309b92138cdc6ff31fbce4e8afa2ab5458e (patch)
tree8f702228144d8877d8f3d064300c8fdd1491d7b3 /include/git2/errors.h
parent0a9a38e539b02d254ec37ce6c18bdda2aedaafc8 (diff)
downloadlibgit2-4e913309b92138cdc6ff31fbce4e8afa2ab5458e.tar.gz
Move transports to an inheritance model
Rather than an 'private' pointer, make the private structures inherit from the generic git_transport struct. This way, we only have to worry about one memory allocation instead of two. The structures are so simple that this may even make the code use less memory overall. Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
Diffstat (limited to 'include/git2/errors.h')
0 files changed, 0 insertions, 0 deletions