Skip to content
Snippets Groups Projects
Commit 42e30b6f authored by rswindell's avatar rswindell
Browse files

New generic struct typedef (with multiple uses in the future): named_string_t

parent 4db419f5
No related branches found
No related tags found
No related merge requests found
......@@ -123,6 +123,12 @@ enum {
#define HANDLE void*
#endif
/* Custom Types */
typedef struct {
char* name;
char* value;
} named_string_t;
#define SAFECOPY(dst,src) sprintf(dst,"%.*s",(int)sizeof(dst)-1,src)
/****************************************************************************/
......
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