1
0
Fork 0
frr/tools/coccinelle/vty_json.cocci
Daniel Baumann 3124f89aed
Adding upstream version 10.1.1.
Signed-off-by: Daniel Baumann <daniel@debian.org>
2025-02-05 10:03:58 +01:00

10 lines
168 B
Text

@@
identifier vty;
identifier json;
constant fmt;
@@
-vty_out(vty, fmt, json_object_to_json_string_ext(json, ...));
...
-json_object_free(json);
+vty_json(vty, json);