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

removed old files

This commit is contained in:
Philipp Hancke 2011-06-16 08:18:27 +02:00 committed by tg(x)
parent 2b800e36e1
commit 86d846c55a
3 changed files with 2 additions and 21 deletions

View file

@ -1,11 +0,0 @@
int main() {
.Parser p = Parser();
p->feed(":_source\tpsyc://test.psyc.eu/~foo\n"
":_target\tpsyc://test2.psyc.eu/~bar\n"
":_tag\tf00b4rb4z\n"
"\n"
":_foo\tbar\n"
"_message_private\n"
"OHAI\n"
"|\n");
}

View file

@ -34,7 +34,7 @@
// psyctext helper
psycTextValueRC lookup_value_mapping(const char *name, size_t len, psycString *value, void *extra)
{
printf("lookup_value_mapping called for %.*s\n", (int) len, name);
//printf("lookup_value_mapping called for %.*s\n", (int) len, name);
struct pike_string *key = make_shared_binary_string(name, len);
struct mapping *m = (struct mapping *) extra;
struct svalue *s = low_mapping_string_lookup(m, key);
@ -52,7 +52,7 @@ psycTextValueRC lookup_value_mapping(const char *name, size_t len, psycString *v
break;
default:
printf("lookup did return !string\n");
// FIXME
// FIXME: we need the automagic value conversion
value->ptr = "";
value->length = 0;
}

View file

@ -1,8 +0,0 @@
int main() {
werror("render:\n%s\---\n",
render( ([ "_context" : "psyc://denmark.lit/~hamlet#_follow" ]),
([ "_type_content" : "text/plain", "_subject" : "to be or not to be ?",
"_bla" : 123 ]),
"_message",
"to be or not to be ?"));
}