func.h 616 B

1234567891011121314151617181920212223242526
  1. /* Multiple build configurations example
  2. This example code is in the Public Domain (or CC0 licensed, at your option.)
  3. Unless required by applicable law or agreed to in writing, this
  4. software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
  5. CONDITIONS OF ANY KIND, either express or implied.
  6. */
  7. #pragma once
  8. #ifdef __cplusplus
  9. extern "C" {
  10. #endif
  11. /**
  12. * @brief This function has different implementations depending on the product type.
  13. *
  14. * See func_dev.c and func_prod.c. Which of the files is compiled is determined in
  15. * CMakeLists.txt,
  16. */
  17. void func(void);
  18. #ifdef __cplusplus
  19. }
  20. #endif