spirit-code / spirit

Atomistic Spin Simulation Framework
http://spirit-code.github.io
MIT License
117 stars 52 forks source link

C API: add pointer checks when receiving input #507

Open GPMueller opened 5 years ago

GPMueller commented 5 years ago

This should prevent some segfaults, at least due to null pointers passed to the API.