Feature #33 ยป 0030-Ruledit-Replace-NULLs-with-nullptr.patch
tools/ruledit/ruledit.h | ||
---|---|---|
void show_experimental(QWidget *wdg);
|
||
struct ruledit_arguments {
|
||
// Ruleset name. Is NULL if not specified.
|
||
// Ruleset name. Is nullptr if not specified.
|
||
char *ruleset;
|
||
};
|
||
tools/ruledit/univ_value.c | ||
---|---|---|
case VUT_MINLATITUDE:
|
||
case VUT_MAXLATITUDE:
|
||
/* Requirement types having numerical value */
|
||
cb(NULL, FALSE, data);
|
||
cb(nullptr, FALSE, data);
|
||
break;
|
||
case VUT_COUNT:
|
||
fc_assert(univ->kind != VUT_COUNT);
|
tools/ruledit/validity.c | ||
---|---|---|
} else {
|
||
struct road_type *proad = extra_road_get(pextra);
|
||
if (proad != NULL
|
||
if (proad != nullptr
|
||
&& universal_is_mentioned_by_requirements(&proad->first_reqs, uni)) {
|
||
cb(extra_rule_name(pextra), data);
|
||
needed = TRUE;
|