*** empty log message ***
This commit is contained in:
@@ -19,6 +19,7 @@ typedef struct { char *buf; int dsize, rdpos, wrpos, seen; } StrBuf;
|
||||
int StrPut(StrBuf *buf, const char *str, int sep);
|
||||
int StrPutInt(StrBuf *buf, int val, int sep);
|
||||
int StrPutFloat(StrBuf *buf, float val, int sep);
|
||||
int StrPutArray(StrBuf *buf, float val[], int size);
|
||||
|
||||
/*------------------------------------------------------------------------
|
||||
Read from the buffer until separator sep.
|
||||
@@ -31,6 +32,7 @@ char *StrNGet(StrBuf *buf, char *result, int reslen, int sep);
|
||||
#define StrGet(BUF,RES,SEP) StrNGet(BUF,RES,sizeof(RES),SEP)
|
||||
int StrGetInt(StrBuf *buf, int *res, int sep);
|
||||
int StrGetFloat(StrBuf *buf, float *res, int sep);
|
||||
int StrGetArray(StrBuf *buf, float val[], int maxsize);
|
||||
#define StrEnd(BUF) ((BUF)->rdpos>=(BUF)->wrpos)
|
||||
|
||||
/*------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user