Added cw_get_str-function
FossilOrigin-Name: 96c343b46c2ed7d1537d90765d159cfb0b311d43eadaed17f949a8b731ef0148
This commit is contained in:
parent
19619ad6cb
commit
a058653b65
@ -65,9 +65,7 @@
|
||||
#define cw_get_word lw_get_word
|
||||
#define cw_get_dword lw_get_dword
|
||||
|
||||
|
||||
|
||||
|
||||
#define cw_get_str(data, maxlen) (strndup((char*)(data),maxlen))
|
||||
|
||||
/**
|
||||
* Macro to isolate bits from a dword
|
||||
|
Loading…
Reference in New Issue
Block a user