CoreFW  Diff

Differences From Artifact [4f675be50b]:

To Artifact [8e2fa3e14c]:


39
40
41
42
43
44
45
46
47
48
49
50





51
52
53

54
55
56
57
58
59
60
61
39
40
41
42
43
44
45





46
47
48
49
50



51

52
53
54
55
56
57
58







-
-
-
-
-
+
+
+
+
+
-
-
-
+
-







	cfw_map_iter_t iter;

	cfw_map_iter(map, &iter);

	fputs("{\n", stdout);

	while (iter.key != NULL) {
		if (cfw_is(iter.obj, cfw_string)) {
			printf("\t%s = %s\n",
			    cfw_string_c(iter.key),
			    cfw_string_c(iter.obj));
		} else if (cfw_is(iter.obj, cfw_int)) {
		printf("\t%s = ", cfw_string_c(iter.key));

		if (cfw_is(iter.obj, cfw_string))
			printf("%s\n", cfw_string_c(iter.obj));
		else if (cfw_is(iter.obj, cfw_int))
			printf("\t%s = %jd\n",
			    cfw_string_c(iter.key),
			    cfw_int_value(iter.obj));
			printf("%jd\n", cfw_int_value(iter.obj));
		}

		cfw_map_iter_next(&iter);
	}

	fputs("}\n", stdout);
}