mirror of
https://gitlab.isc.org/isc-projects/bind9.git
synced 2025-12-05 18:57:04 -06:00
16 lines
188 B
Plaintext
16 lines
188 B
Plaintext
@replacement@
|
|
type T;
|
|
identifier fun, arg;
|
|
expression val;
|
|
@@
|
|
fun(..., T *arg, ...)
|
|
{
|
|
<+...
|
|
- if (arg != NULL)
|
|
- {
|
|
- *arg = val;
|
|
- }
|
|
+ SET_IF_NOT_NULL(arg, val);
|
|
...+>
|
|
}
|