Skip to content
Snippets Groups Projects
Commit 0270c2d8 authored by Dmitry Gerasimov's avatar Dmitry Gerasimov
Browse files

[+] dap_tsd_get_object()

parent 7175bb21
No related branches found
No related tags found
1 merge request!897hotfix-6925
......@@ -35,6 +35,7 @@ dap_tsd_t* dap_tsd_find(byte_t * a_data, size_t a_data_size,uint16_t a_type);
#define dap_tsd_create_scalar(type,value) dap_tsd_create (type, &value, sizeof(value) )
#define dap_tsd_get_scalar(a,typeconv) ( a->size >= sizeof(typeconv) ? *((typeconv*) a->data) : (typeconv) {0})
#define dap_tsd_get_object(a,typeconv) ( a->size >= sizeof(typeconv) ? ((typeconv*) a->data) : (typeconv *) {0})
#define DAP_TSD_CORRUPTED_STRING "<CORRUPTED STRING>"
// NULL-terminated string
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment