MCPcopy Create free account
hub / github.com/davisking/dlib / clear

Method clear

dlib/java/java_array.h:518–525  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

516private:
517
518 void clear()
519 {
520 if (pdata) {
521 jenv->ReleasePrimitiveArrayCritical(oldArr, pdata, might_be_modified?0:JNI_ABORT);
522 pdata = nullptr;
523 sz = 0;
524 }
525 }
526
527 // this object is non-copyable
528 array_view_crit_base(const array_view_crit_base&);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected