#include "eval.h" #include "util.h" recipe * eval(recipe * r) { if (!r) return NULL; recipe * _r = new_recipe(); merge_items(_r, r); merge_steps(_r, r); copy_metadata(_r, r); return _r; }