*** empty log message ***

This commit is contained in:
2005-06-08 16:05:41 +00:00
parent f3dc7b12d6
commit 8a69307e57
13 changed files with 203 additions and 229 deletions

View File

@@ -1,5 +1,5 @@
/*
* $Id: token.h,v 1.8 2005-06-08 15:49:35 bacon Exp $
* $Id: token.h,v 1.9 2005-06-08 16:00:51 bacon Exp $
*/
#ifndef _XP_STX_TOKEN_H_
@@ -35,9 +35,9 @@ struct xp_stx_token_t
xp_stx_real_t fvalue;
*/
xp_stx_word_t capacity;
xp_stx_word_t size;
xp_stx_char_t* buffer;
xp_word_t capacity;
xp_word_t size;
xp_char_t* buffer;
xp_bool_t __malloced;
};
@@ -49,13 +49,13 @@ extern "C" {
#endif
xp_stx_token_t* xp_stx_token_open (
xp_stx_token_t* token, xp_stx_word_t capacity);
xp_stx_token_t* token, xp_word_t capacity);
void xp_stx_token_close (xp_stx_token_t* token);
int xp_stx_token_addc (xp_stx_token_t* token, xp_stx_cint_t c);
int xp_stx_token_addc (xp_stx_token_t* token, xp_cint_t c);
void xp_stx_token_clear (xp_stx_token_t* token);
xp_stx_char_t* xp_stx_token_yield (xp_stx_token_t* token, xp_stx_word_t capacity);
int xp_stx_token_compare (xp_stx_token_t* token, const xp_stx_char_t* str);
xp_char_t* xp_stx_token_yield (xp_stx_token_t* token, xp_word_t capacity);
int xp_stx_token_compare (xp_stx_token_t* token, const xp_char_t* str);
#ifdef __cplusplus
}