Add comments to custom C code