summaryrefslogtreecommitdiffstats
path: root/source/lib/replace/win32_replace.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2006-09-13 00:05:07 +0000
committerAndrew Tridgell <tridge@samba.org>2006-09-13 00:05:07 +0000
commit19f44aae04e0887142264bea9f823bcbee88a2f3 (patch)
tree86631fc96f910665395350f539c3d255a2c0eeb0 /source/lib/replace/win32_replace.h
parent54db9fb0478654fe429d71bf2d249fd9bb10b264 (diff)
downloadsamba-19f44aae04e0887142264bea9f823bcbee88a2f3.tar.gz
samba-19f44aae04e0887142264bea9f823bcbee88a2f3.tar.xz
samba-19f44aae04e0887142264bea9f823bcbee88a2f3.zip
r18435: added a function talloc_move() which is like talloc_steal(), but is
meant for moving pointers between structures. The difference is that talloc_move() will zero the source pointer, thus ensuring you don't reference the pointer in the old context. talloc_move() is appropriate in some, but not all cases where we use talloc_steal() now. The interface came out of a discussion with Jeremy.
Diffstat (limited to 'source/lib/replace/win32_replace.h')
0 files changed, 0 insertions, 0 deletions