From c7a8f498a721a81588d24723b9224428a6b91b12 Mon Sep 17 00:00:00 2001 From: "arseny.kapoulkine" Date: Sun, 27 Jun 2010 11:56:50 +0000 Subject: Renamed name parameter in load_file/save_file to path git-svn-id: http://pugixml.googlecode.com/svn/trunk@540 99668b35-9821-0410-8761-19e4c4f06640 --- src/pugixml.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/pugixml.cpp') diff --git a/src/pugixml.cpp b/src/pugixml.cpp index e6b24e2..c31eae4 100644 --- a/src/pugixml.cpp +++ b/src/pugixml.cpp @@ -4328,11 +4328,11 @@ namespace pugi return load_buffer_inplace_own(xmlstr, strlen(xmlstr), options, encoding_utf8); } - xml_parse_result xml_document::load_file(const char* name, unsigned int options, encoding_t encoding) + xml_parse_result xml_document::load_file(const char* path, unsigned int options, encoding_t encoding) { create(); - FILE* file = fopen(name, "rb"); + FILE* file = fopen(path, "rb"); if (!file) return make_parse_result(status_file_not_found); fseek(file, 0, SEEK_END); @@ -4439,9 +4439,9 @@ namespace pugi } #endif - bool xml_document::save_file(const char* name, const char_t* indent, unsigned int flags, encoding_t encoding) const + bool xml_document::save_file(const char* path, const char_t* indent, unsigned int flags, encoding_t encoding) const { - FILE* file = fopen(name, "wb"); + FILE* file = fopen(path, "wb"); if (!file) return false; xml_writer_file writer(file); -- cgit v1.2.3