Skip to content

Commit

Permalink
Add deprecation warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
melund committed Nov 5, 2024
1 parent 8920195 commit bb6942a
Showing 1 changed file with 38 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,44 @@
#endif
#endif


#ifdef BM_TRUNK_DISC_STIFNESS
#ifndef BM_TRUNK_DISC_STIFFNESS
#define BM_TRUNK_DISC_STIFFNESS BM_TRUNK_DISC_STIFNESS
#endif
AnyInt deprecated_BM_TRUNK_DISC_STIFNESS = warn(0, strformat("\n"+
"------------------------------------------------------------------------------------------------------------------------ \n"+
" `BM_TRUNK_DISC_STIFNESS` has been renamed to BM_TRUNK_DISC_STIFFNESS.\n"+
" Please use the corrected name instead.\n"+
"------------------------------------------------------------------------------------------------------------------------ "));
#endif

#ifdef BM_TRUNK_LUMBAR_DISC_STIFNESS
#ifndef BM_TRUNK_LUMBAR_DISC_STIFFNESS
#define BM_TRUNK_LUMBAR_DISC_STIFFNESS BM_TRUNK_LUMBAR_DISC_STIFNESS
#endif
AnyInt deprecated_BM_TRUNK_LUMBAR_DISC_STIFNESS = warn(0, strformat("\n"+
"------------------------------------------------------------------------------------------------------------------------ \n"+
" `BM_TRUNK_LUMBAR_DISC_STIFNESS` has been renamed to BM_TRUNK_LUMBAR_DISC_STIFFNESS.\n"+
" Please use the corrected name instead.\n"+
"------------------------------------------------------------------------------------------------------------------------ "));
#endif

#ifdef BM_TRUNK_CERVICAL_DISC_STIFNESS
#ifndef BM_TRUNK_CERVICAL_DISC_STIFFNESS
#define BM_TRUNK_CERVICAL_DISC_STIFFNESS BM_TRUNK_CERVICAL_DISC_STIFNESS
#endif
AnyInt deprecated_BM_TRUNK_CERVICAL_DISC_STIFNESS = warn(0, strformat("\n"+
"------------------------------------------------------------------------------------------------------------------------ \n"+
" `BM_TRUNK_CERVICAL_DISC_STIFNESS` has been renamed to BM_TRUNK_CERVICAL_DISC_STIFFNESS.\n"+
" Please use the corrected name instead.\n"+
"------------------------------------------------------------------------------------------------------------------------ "));
#endif





#ifpathexists "ammr-beta.any"
#include "ammr-beta.any"
#endif
Expand Down

0 comments on commit bb6942a

Please sign in to comment.