1
0
mirror of https://github.com/OlafvdSpek/ctemplate.git synced 2025-09-28 19:05:49 +08:00

Remove ac_google_end_namespace

This commit is contained in:
olafvdspek 2015-02-13 19:53:07 +00:00
parent 82235342c9
commit 41b65c876f
14 changed files with 17 additions and 27 deletions

View File

@ -65,6 +65,6 @@ const typename T::value_type::second_type find_ptr2(const T& c, U v)
return i == c.end() ? NULL : i->second; return i == c.end() ? NULL : i->second;
} }
@ac_google_end_namespace@ }
#endif // TEMPLATE_FIND_PTR_H_ #endif // TEMPLATE_FIND_PTR_H_

View File

@ -144,6 +144,6 @@ class @ac_windows_dllexport@ PerExpandData {
void operator=(const PerExpandData&); // disallow evil operator= void operator=(const PerExpandData&); // disallow evil operator=
}; };
@ac_google_end_namespace@ }
#endif // TEMPLATE_PER_EXPAND_DATA_H_ #endif // TEMPLATE_PER_EXPAND_DATA_H_

View File

@ -124,6 +124,6 @@ private:
typedef str_ref_basic<const unsigned char*> data_ref; typedef str_ref_basic<const unsigned char*> data_ref;
typedef str_ref_basic<const char*> str_ref; typedef str_ref_basic<const char*> str_ref;
@ac_google_end_namespace@ }
#endif // TEMPLATE_STR_REF_H_ #endif // TEMPLATE_STR_REF_H_

View File

@ -54,7 +54,7 @@
@ac_google_start_namespace@ @ac_google_start_namespace@
class TemplateDictionaryInterface; class TemplateDictionaryInterface;
class PerExpandData; class PerExpandData;
@ac_google_end_namespace@ }
#endif #endif
namespace @ac_htmlparser_namespace@ { namespace @ac_htmlparser_namespace@ {
@ -478,7 +478,6 @@ class @ac_windows_dllexport@ Template {
void operator=(const Template &); void operator=(const Template &);
}; };
@ac_google_end_namespace@ }
#endif // CTEMPLATE_TEMPLATE_H_ #endif // CTEMPLATE_TEMPLATE_H_

View File

@ -131,7 +131,6 @@ class @ac_windows_dllexport@ TextTemplateAnnotator : public TemplateAnnotator {
void operator=(const TextTemplateAnnotator&); void operator=(const TextTemplateAnnotator&);
}; };
@ac_google_end_namespace@ }
#endif // TEMPLATE_TEMPLATE_ANNOTATOR_H_ #endif // TEMPLATE_TEMPLATE_ANNOTATOR_H_

View File

@ -44,7 +44,7 @@
#include <ctemplate/per_expand_data.h> #include <ctemplate/per_expand_data.h>
@ac_google_start_namespace@ @ac_google_start_namespace@
class FileStat; class FileStat;
@ac_google_end_namespace@ }
class Mutex; class Mutex;
class TemplateCacheUnittest; class TemplateCacheUnittest;
@ -363,6 +363,6 @@ class @ac_windows_dllexport@ TemplateCache {
void operator=(const TemplateCache &); void operator=(const TemplateCache &);
}; };
@ac_google_end_namespace@ }
#endif // TEMPLATE_TEMPLATE_CACHE_H_ #endif // TEMPLATE_TEMPLATE_CACHE_H_

View File

@ -449,7 +449,6 @@ class @ac_windows_dllexport@ TemplateDictionary : public TemplateDictionaryInter
void operator=(const TemplateDictionary&); void operator=(const TemplateDictionary&);
}; };
@ac_google_end_namespace@ }
#endif // TEMPLATE_TEMPLATE_DICTIONARY_H_ #endif // TEMPLATE_TEMPLATE_DICTIONARY_H_

View File

@ -138,7 +138,6 @@ class @ac_windows_dllexport@ TemplateDictionaryInterface {
void operator=(const TemplateDictionaryInterface&); void operator=(const TemplateDictionaryInterface&);
}; };
@ac_google_end_namespace@ }
#endif // TEMPLATE_TEMPLATE_DICTIONARY_INTERFACE_H_ #endif // TEMPLATE_TEMPLATE_DICTIONARY_INTERFACE_H_

View File

@ -65,7 +65,6 @@ class @ac_windows_dllexport@ StringEmitter : public ExpandEmitter {
virtual void Emit(const char* s, size_t slen) { outbuf_->append(s, slen); } virtual void Emit(const char* s, size_t slen) { outbuf_->append(s, slen); }
}; };
@ac_google_end_namespace@ }
#endif // TEMPLATE_TEMPLATE_EMITTER_H_ #endif // TEMPLATE_TEMPLATE_EMITTER_H_

View File

@ -41,7 +41,6 @@
enum Strip { DO_NOT_STRIP, STRIP_BLANK_LINES, STRIP_WHITESPACE, enum Strip { DO_NOT_STRIP, STRIP_BLANK_LINES, STRIP_WHITESPACE,
NUM_STRIPS }; // sentinel value NUM_STRIPS }; // sentinel value
@ac_google_end_namespace@ }
#endif // TEMPLATE_TEMPLATE_ENUMS_H_ #endif // TEMPLATE_TEMPLATE_ENUMS_H_

View File

@ -343,10 +343,8 @@ bool AddModifier(const char* long_name, const TemplateModifier* modifier);
// is used in a different context (say Javascript) where this // is used in a different context (say Javascript) where this
// escaping may be inadequate. // escaping may be inadequate.
extern @ac_windows_dllexport@ extern @ac_windows_dllexport@
bool AddXssSafeModifier(const char* long_name, bool AddXssSafeModifier(const char* long_name, const TemplateModifier* modifier);
const TemplateModifier* modifier);
@ac_google_end_namespace@
}
#endif // TEMPLATE_TEMPLATE_MODIFIERS_H_ #endif // TEMPLATE_TEMPLATE_MODIFIERS_H_

View File

@ -158,7 +158,6 @@ class @ac_windows_dllexport@ TemplateNamelist {
void operator=(const TemplateNamelist&); void operator=(const TemplateNamelist&);
}; };
@ac_google_end_namespace@ }
#endif // TEMPLATE_TEMPLATE_NAMELIST_H_ #endif // TEMPLATE_TEMPLATE_NAMELIST_H_

View File

@ -68,6 +68,6 @@ std::string Basename(const std::string& path); // everything after last
extern @ac_windows_dllexport@ extern @ac_windows_dllexport@
bool ContainsFullWord(const std::string& text, const std::string& word); bool ContainsFullWord(const std::string& text, const std::string& word);
@ac_google_end_namespace@ }
#endif // TEMPLATE_TEMPLATE_PATHOPS_H_ #endif // TEMPLATE_TEMPLATE_PATHOPS_H_

View File

@ -352,7 +352,6 @@ class @ac_windows_dllexport@ StaticTemplateStringInitializer {
const StaticTemplateString kStsEmpty = const StaticTemplateString kStsEmpty =
STS_INIT_WITH_HASH(kStsEmpty, "", 1457976849674613049ULL); STS_INIT_WITH_HASH(kStsEmpty, "", 1457976849674613049ULL);
@ac_google_end_namespace@ }
#endif // TEMPLATE_TEMPLATE_STRING_H_ #endif // TEMPLATE_TEMPLATE_STRING_H_