From 622c73263fb0a27cf0fe77247d5a0e0db4b9fdd3 Mon Sep 17 00:00:00 2001 From: FreeArtMan Date: Sun, 28 May 2017 17:24:42 +0100 Subject: working list in da params --- test/test1.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'test') diff --git a/test/test1.c b/test/test1.c index f6a7a70..1b1e98e 100644 --- a/test/test1.c +++ b/test/test1.c @@ -24,11 +24,13 @@ s_arg_float ratio_float = .val = 0.8 }; +char *color_list[] = {"RED","GREEN","BLUE"}; + s_arg_list color_name_list = { .num = 3, .default_val = "RED", - .vals = {"RED","GREEN","BLUE"} + .vals = color_list }; s_arg_val number_val = -- cgit v1.2.3