resource($name, $function)