summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorGravatar default2022-09-20 12:50:37 +0200
committerGravatar default2022-09-20 12:50:37 +0200
commit922b04b4d79c01d13a0de71edf934f019f5a9771 (patch)
tree3d9af6fd42033e5dabfd6cd0187c1130ab6ecb6d /main.c
parentNew function queue(). (diff)
downloadsnac2-922b04b4d79c01d13a0de71edf934f019f5a9771.tar.gz
snac2-922b04b4d79c01d13a0de71edf934f019f5a9771.tar.xz
snac2-922b04b4d79c01d13a0de71edf934f019f5a9771.zip
New function dequeue().
Diffstat (limited to 'main.c')
-rw-r--r--main.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/main.c b/main.c
index dd072e2..42606c2 100644
--- a/main.c
+++ b/main.c
@@ -21,7 +21,10 @@ int main(int argc, char *argv[])
21 21
22 p = list; 22 p = list;
23 while (xs_list_iter(&p, &fn)) { 23 while (xs_list_iter(&p, &fn)) {
24 printf("%s\n", fn); 24 xs *obj;
25
26 obj = dequeue(&snac, fn);
27 printf("%s\n", xs_dict_get(obj, "actor"));
25 } 28 }
26 } 29 }
27 30