return NULL;
}
+xmlDocPtr XML_Template_process_file(const char *input_filename, Directive *root_directive, bool clean)
+{
+ xmlDocPtr ret = process_file(input_filename, root_directive, clean);
+ delete root_directive;
+ return ret;
+}
+
%}
%typemap(in) Directive* {
$1 = convert_php_objects_to_directive(*$input);
}
-xmlDocPtr process_file(const char *input_filename, Directive *root_directive, bool clean);
+xmlDocPtr XML_Template_process_file(const char *input_filename, Directive *root_directive, bool clean);
void output_to_fd_and_free(xmlDocPtr doc, int fd);