dss-extensions / dss_sharp

C#/.NET bindings for DSS C-API, an unofficial implementation of OpenDSS with a custom API in plain C, new features and API extensions.
https://dss-extensions.org/dss_sharp/
BSD 3-Clause "New" or "Revised" License
8 stars 0 forks source link

Use CheckForError more frequently #5

Closed PMeira closed 2 years ago

PMeira commented 5 years ago

Use CheckForError more frequently, just like in DSS Python, to avoid frequent errors.

The new Error_Get_NumberPtr should be used to avoid unnecessary calls to Error_Get_Number.