MCPcopy Create free account
hub / github.com/OpenPathGuidingLibrary/openpgl / pglReleaseDevice

Function pglReleaseDevice

openpgl/api/api.cpp:100–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

98OPENPGL_CATCH_END(nullptr)
99
100extern "C" OPENPGL_DLLEXPORT void pglReleaseDevice(PGLDevice device)
101{
102 auto *gDevice = (IDevice *)device;
103 delete gDevice;
104}
105
106extern "C" OPENPGL_DLLEXPORT PGLField pglDeviceNewField(PGLDevice device, PGLFieldArguments args) OPENPGL_CATCH_BEGIN
107{

Callers 1

~DeviceMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected