CTRE Phoenix Pro C++ 23.0.12
ReportError_Interface.h
Go to the documentation of this file.
1/*
2 * Copyright (C) Cross The Road Electronics.  All rights reserved.
3 * License information can be found in CTRE_LICENSE.txt
4 * For support and suggestions contact support@ctr-electronics.com or file
5 * an issue tracker at https://github.com/CrossTheRoadElec/Phoenix-Releases
6 */
7#pragma once
8
10#include "stdint.h"
11
12#ifdef __cplusplus
13extern "C"
14{
15#endif
16
17 CTREXPORT void c_ctre_phoenix_report_error(int isError, int32_t errorCode, int isLVCode, const char *details,
18 const char *location, const char *callStack);
19
20 CTREXPORT void c_ctre_phoenix_get_status_string(int statusCode, char *toFill, uint32_t toFillLength);
21
22#ifdef __cplusplus
23}
24#endif
CTREXPORT void c_ctre_phoenix_report_error(int isError, int32_t errorCode, int isLVCode, const char *details, const char *location, const char *callStack)
CTREXPORT void c_ctre_phoenix_get_status_string(int statusCode, char *toFill, uint32_t toFillLength)
#define CTREXPORT
Definition: export.h:14