diff options
author | Michael Steinert <mike.steinert@gmail.com> | 2012-06-11 16:35:35 -0600 |
---|---|---|
committer | Alan Antonuk <alan.antonuk@gmail.com> | 2013-04-09 15:49:10 -0700 |
commit | 82cfd49e4dbb674669e8c91044ba317d1c075396 (patch) | |
tree | cacdb83d6b60d7b9cd12bfd628b700cb6b64632a /examples | |
parent | 0f022fce389543404f86824ed6c5720d2502cd09 (diff) | |
download | rabbitmq-c-82cfd49e4dbb674669e8c91044ba317d1c075396.tar.gz |
Add checks for derived socket type
1. Use a single instance of the vtable for each object. This saves some
memory at the expense of an extra pointer dereference per method
invocation.
2. Compare the class vtable pointer in sub-class methods to determine if
the object type is correct.
Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions