MCPcopy Create free account
hub / github.com/OpenDDS/OpenDDS / get_singleton

Function get_singleton

tools/scripts/gdbext.py:226–228  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

224
225
226def get_singleton(name):
227 singleton_obj = real_ptr(gdb.parse_and_eval(name + '::singleton_'))
228 return None if singleton_obj is None else singleton_obj['instance_']
229
230
231def printer_for_types(printer, *type_names):

Callers 1

opendds_initFunction · 0.85

Calls 1

real_ptrFunction · 0.85

Tested by

no test coverage detected