![]() |
![]() |
![]() |
CTPL Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
#include <ctpl/ctpl.h> CtplToken; CtplTokenExpr; void ctpl_token_free (CtplToken *token
); void ctpl_token_expr_free (CtplTokenExpr *token
);
Represents a CTPL language token.
Tokens are created by the lexers, CtplLexer and CtplLexerExpr.
A CtplToken is freed with ctpl_token_free()
, and a CtplTokenExpr is freed
with ctpl_token_expr_free()
.
void ctpl_token_free (CtplToken *token
);
Frees all memory used by a CtplToken.
|
A CtplToken to free |
void ctpl_token_expr_free (CtplTokenExpr *token
);
Frees all memory used by a CtplTokenExpr.
|
A CtplTokenExpr to free |