mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-23 10:37:43 -04:00
15 lines
188 B
Text
15 lines
188 B
Text
@replacement@
|
|
type T;
|
|
identifier fun, arg;
|
|
expression val;
|
|
@@
|
|
fun(..., T *arg, ...)
|
|
{
|
|
<+...
|
|
- if (arg != NULL)
|
|
- {
|
|
- *arg = val;
|
|
- }
|
|
+ SET_IF_NOT_NULL(arg, val);
|
|
...+>
|
|
}
|