add deprecation note to lammps_config_has_exceptions() function

This commit is contained in:
Axel Kohlmeyer
2023-08-03 17:35:05 -04:00
parent 397f3e4786
commit e3fa10ee88

View File

@ -5468,6 +5468,13 @@ int lammps_config_has_ffmpeg_support() {
/** Check whether LAMMPS errors will throw C++ exceptions.
*
\verbatim embed:rst
.. deprecated:: TBD
LAMMPS has now exceptions always enabled, so this function
will now always return 1 and can be removed from applications
using the library interface.
In case of an error, LAMMPS will either abort or throw a C++ exception.
The latter has to be :ref:`enabled at compile time <exceptions>`.
This function checks if exceptions were enabled.