blob: 9906f781f67dcf833283d5026c6d1d64738828ae (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
/**
* @file platReturnCodeDataRef.C
*
* @brief Implements the platform part of the ReturnCodeDataRef class.
*
* Note that platform code must provide the implementation. FAPI has provided
* an example for platforms that do not attach ReturnCodeData to a ReturnCode.
*/
#include <fapiReturnCodeDataRef.H>
#include <fapiPlatTrace.H>
#include <errl/errlentry.H>
namespace fapi
{
//******************************************************************************
// deleteData function
//******************************************************************************
void ReturnCodeDataRef::deleteData()
{
FAPI_DBG("ReturnCodeDataRef::deleteData");
// FSP platform uses iv_pData to point at a FipS error log.
delete (reinterpret_cast<errlHndl_t>(const_cast<void *>(iv_pData)));
}
}
|