1
0
Fork 0
mirror of git://git.psyc.eu/libpsyc synced 2024-08-15 03:19:02 +00:00

PSYC_STRING, func params

This commit is contained in:
tg(x) 2011-12-01 14:12:41 +01:00
parent 75f4e0aee4
commit 078ec2a374
9 changed files with 53 additions and 64 deletions

View file

@ -8,9 +8,9 @@
/* example renderer generating a presence packet */
int
testPresence (const char *avail, int availlen,
const char *desc, int desclen,
const char *rendered, uint8_t verbose)
testPresence (char *avail, int availlen,
char *desc, int desclen,
char *rendered, uint8_t verbose)
{
PsycModifier routing[1];
psyc_modifier_init(&routing[0], PSYC_OPERATOR_SET,

View file

@ -100,7 +100,7 @@ main (int argc, char **argv)
}
size_t tlen = 0;
char *t = psyc_template(PSYC_MC_NOTICE_CONTEXT_ENTER, &tlen);
const char *t = psyc_template(PSYC_MC_NOTICE_CONTEXT_ENTER, &tlen);
printf("_notice_context_enter = %s, %ld\n", t, tlen);
printf("psyc_text passed all tests.\n");