Small issues in the C API examples in the documentation
Reported by D. Michalik:
-
All examples that set/get booleans should use small-leter true/false, not True/False (that's from Python)
-
Many examples do not declare the wrtd_status status variable before using it.
-
Extra quote character at https://wrtd.readthedocs.io/en/latest/usage_clib.html#id4:
status = wrtd_get_attr_tstamp(wrtd, "rule1", WRTD_ATTR_RULE_DELAY, &ts");
- Would be good to have an example of how to set a tstamp attribute