MCPcopy Create free account
hub / github.com/BatchDrake/SigDigger / put

Method put

include/Suscan/Object.h:351–360  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

349 }
350
351 void
352 put(Object &obj, unsigned int index)
353 {
354 if (obj.isBorrowed())
355 throw Suscan::Exception("Cannot put borrowed objects into a set");
356
357 SU_ATTEMPT(suscan_object_set_put(this->instance, index, obj.instance));
358
359 obj.borrowed = true;
360 }
361
362 void
363 remove(unsigned int index)

Callers 1

syncUIMethod · 0.80

Calls 2

ExceptionClass · 0.85
isBorrowedMethod · 0.80

Tested by

no test coverage detected