BCU.h 802 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. #ifndef RTW_HEADER_BCU_h_
  2. #define RTW_HEADER_BCU_h_
  3. #ifndef BCU_COMMON_INCLUDES_
  4. #define BCU_COMMON_INCLUDES_
  5. #include "rtwtypes.h"
  6. #endif
  7. #include "BCU_types.h"
  8. #include "rtGetInf.h"
  9. #include "rt_nonfinite.h"
  10. #include "zero_crossing_types.h"
  11. #include "BCUCal.h"
  12. #include "BCUDisp.h"
  13. #ifndef rtmGetErrorStatus
  14. #define rtmGetErrorStatus(rtm) ((rtm)->errorStatus)
  15. #endif
  16. #ifndef rtmSetErrorStatus
  17. #define rtmSetErrorStatus(rtm, val) ((rtm)->errorStatus = (val))
  18. #endif
  19. #ifndef rtmGetErrorStatusPointer
  20. #define rtmGetErrorStatusPointer(rtm) ((const char_T **)(&((rtm)->errorStatus)))
  21. #endif
  22. struct tag_RTM_BCU_T {
  23. const char_T *errorStatus;
  24. };
  25. extern void BCU_initialize(void);
  26. extern void BCU_step(void);
  27. extern void BCU_terminate(void);
  28. extern RT_MODEL_BCU_T *const BCU_M;
  29. #endif