File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -359,7 +359,7 @@ typedef uint32_t tdi_dev_pipe_t;
359
359
* @param[out] err_str Pointer to error string. Doesn't require user to allocate
360
360
*space
361
361
*/
362
- // void tdi_err_str (tdi_status_t sts, const char **err_str);
362
+ void tdi_get_err_str (tdi_status_t sts , const char * * err_str );
363
363
364
364
#ifdef __cplusplus
365
365
}
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ set(TDI_SRCS
14
14
#tdi_cjson.cpp
15
15
#tdi_info_impl.cpp
16
16
#tdi_table_info.cpp
17
- # tdi_utils.cpp
17
+ tdi_utils.cpp
18
18
)
19
19
20
20
set (TDI_C_FRONTEND_SRCS
Original file line number Diff line number Diff line change @@ -25,8 +25,8 @@ extern "C" {
25
25
#include < target-sys/bf_sal/bf_sys_mem.h>
26
26
#include < tdi/common/tdi_defs.h>
27
27
28
- void tdi_err_str (tdi_status_t sts, const char **err_str) {
29
- *err_str = bf_err_str (sts);
28
+ void tdi_get_err_str (tdi_status_t sts, const char **err_str) {
29
+ *err_str = tdi_err_str (sts);
30
30
}
31
31
32
32
#ifdef __cplusplus
Original file line number Diff line number Diff line change @@ -256,7 +256,7 @@ def _abort_transaction(self):
256
256
257
257
def err_str (self , sts ):
258
258
estr = c_char_p ()
259
- self ._driver .bf_rt_err_str (c_int (sts ), byref (estr ))
259
+ self ._driver .tdi_get_err_str (c_int (sts ), byref (estr ))
260
260
return estr .value .decode ('ascii' )
261
261
class TdiHandle (Structure ):
262
262
_fields_ = [("unused" , c_int )]
You can’t perform that action at this time.
0 commit comments