summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-12-26 00:12:01 +0000
committerNick Mathewson <nickm@torproject.org>2007-12-26 00:12:01 +0000
commit0c8142e981497359d86d6c8825455d315d99d3fb (patch)
treeaadf197afe2c9ca486a723a71950b43af04077f6 /contrib
parent0421e53c66547275bdf4bf2e6aafe112402a330a (diff)
downloadtor-0c8142e981497359d86d6c8825455d315d99d3fb.tar.gz
tor-0c8142e981497359d86d6c8825455d315d99d3fb.zip
r15691@tombo: nickm | 2007-12-25 18:13:54 -0500
New, slightly esoteric function, tor_malloc_roundup(). While tor_malloc(x) allocates x bytes, tor_malloc_roundup(&x) allocates the same size of chunk it would use to store x bytes, and sets x to the usable size of that chunk. svn:r12981
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions