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:
parent
82235342c9
commit
41b65c876f
|
@ -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;
|
||||
}
|
||||
|
||||
@ac_google_end_namespace@
|
||||
}
|
||||
|
||||
#endif // TEMPLATE_FIND_PTR_H_
|
||||
|
|
|
@ -144,6 +144,6 @@ class @ac_windows_dllexport@ PerExpandData {
|
|||
void operator=(const PerExpandData&); // disallow evil operator=
|
||||
};
|
||||
|
||||
@ac_google_end_namespace@
|
||||
}
|
||||
|
||||
#endif // TEMPLATE_PER_EXPAND_DATA_H_
|
||||
|
|
|
@ -124,6 +124,6 @@ private:
|
|||
typedef str_ref_basic<const unsigned char*> data_ref;
|
||||
typedef str_ref_basic<const char*> str_ref;
|
||||
|
||||
@ac_google_end_namespace@
|
||||
}
|
||||
|
||||
#endif // TEMPLATE_STR_REF_H_
|
||||
|
|
|
@ -54,7 +54,7 @@
|
|||
@ac_google_start_namespace@
|
||||
class TemplateDictionaryInterface;
|
||||
class PerExpandData;
|
||||
@ac_google_end_namespace@
|
||||
}
|
||||
#endif
|
||||
|
||||
namespace @ac_htmlparser_namespace@ {
|
||||
|
@ -478,7 +478,6 @@ class @ac_windows_dllexport@ Template {
|
|||
void operator=(const Template &);
|
||||
};
|
||||
|
||||
@ac_google_end_namespace@
|
||||
|
||||
}
|
||||
|
||||
#endif // CTEMPLATE_TEMPLATE_H_
|
||||
|
|
|
@ -131,7 +131,6 @@ class @ac_windows_dllexport@ TextTemplateAnnotator : public TemplateAnnotator {
|
|||
void operator=(const TextTemplateAnnotator&);
|
||||
};
|
||||
|
||||
@ac_google_end_namespace@
|
||||
|
||||
}
|
||||
|
||||
#endif // TEMPLATE_TEMPLATE_ANNOTATOR_H_
|
||||
|
|
|
@ -44,7 +44,7 @@
|
|||
#include <ctemplate/per_expand_data.h>
|
||||
@ac_google_start_namespace@
|
||||
class FileStat;
|
||||
@ac_google_end_namespace@
|
||||
}
|
||||
class Mutex;
|
||||
class TemplateCacheUnittest;
|
||||
|
||||
|
@ -363,6 +363,6 @@ class @ac_windows_dllexport@ TemplateCache {
|
|||
void operator=(const TemplateCache &);
|
||||
};
|
||||
|
||||
@ac_google_end_namespace@
|
||||
}
|
||||
|
||||
#endif // TEMPLATE_TEMPLATE_CACHE_H_
|
||||
|
|
|
@ -449,7 +449,6 @@ class @ac_windows_dllexport@ TemplateDictionary : public TemplateDictionaryInter
|
|||
void operator=(const TemplateDictionary&);
|
||||
};
|
||||
|
||||
@ac_google_end_namespace@
|
||||
|
||||
}
|
||||
|
||||
#endif // TEMPLATE_TEMPLATE_DICTIONARY_H_
|
||||
|
|
|
@ -138,7 +138,6 @@ class @ac_windows_dllexport@ TemplateDictionaryInterface {
|
|||
void operator=(const TemplateDictionaryInterface&);
|
||||
};
|
||||
|
||||
@ac_google_end_namespace@
|
||||
|
||||
}
|
||||
|
||||
#endif // TEMPLATE_TEMPLATE_DICTIONARY_INTERFACE_H_
|
||||
|
|
|
@ -65,7 +65,6 @@ class @ac_windows_dllexport@ StringEmitter : public ExpandEmitter {
|
|||
virtual void Emit(const char* s, size_t slen) { outbuf_->append(s, slen); }
|
||||
};
|
||||
|
||||
@ac_google_end_namespace@
|
||||
|
||||
}
|
||||
|
||||
#endif // TEMPLATE_TEMPLATE_EMITTER_H_
|
||||
|
|
|
@ -41,7 +41,6 @@
|
|||
enum Strip { DO_NOT_STRIP, STRIP_BLANK_LINES, STRIP_WHITESPACE,
|
||||
NUM_STRIPS }; // sentinel value
|
||||
|
||||
@ac_google_end_namespace@
|
||||
|
||||
}
|
||||
|
||||
#endif // TEMPLATE_TEMPLATE_ENUMS_H_
|
||||
|
|
|
@ -343,10 +343,8 @@ bool AddModifier(const char* long_name, const TemplateModifier* modifier);
|
|||
// is used in a different context (say Javascript) where this
|
||||
// escaping may be inadequate.
|
||||
extern @ac_windows_dllexport@
|
||||
bool AddXssSafeModifier(const char* long_name,
|
||||
const TemplateModifier* modifier);
|
||||
|
||||
@ac_google_end_namespace@
|
||||
bool AddXssSafeModifier(const char* long_name, const TemplateModifier* modifier);
|
||||
|
||||
}
|
||||
|
||||
#endif // TEMPLATE_TEMPLATE_MODIFIERS_H_
|
||||
|
|
|
@ -158,7 +158,6 @@ class @ac_windows_dllexport@ TemplateNamelist {
|
|||
void operator=(const TemplateNamelist&);
|
||||
};
|
||||
|
||||
@ac_google_end_namespace@
|
||||
|
||||
}
|
||||
|
||||
#endif // TEMPLATE_TEMPLATE_NAMELIST_H_
|
||||
|
|
|
@ -68,6 +68,6 @@ std::string Basename(const std::string& path); // everything after last
|
|||
extern @ac_windows_dllexport@
|
||||
bool ContainsFullWord(const std::string& text, const std::string& word);
|
||||
|
||||
@ac_google_end_namespace@
|
||||
}
|
||||
|
||||
#endif // TEMPLATE_TEMPLATE_PATHOPS_H_
|
||||
|
|
|
@ -352,7 +352,6 @@ class @ac_windows_dllexport@ StaticTemplateStringInitializer {
|
|||
const StaticTemplateString kStsEmpty =
|
||||
STS_INIT_WITH_HASH(kStsEmpty, "", 1457976849674613049ULL);
|
||||
|
||||
@ac_google_end_namespace@
|
||||
|
||||
}
|
||||
|
||||
#endif // TEMPLATE_TEMPLATE_STRING_H_
|
||||
|
|
Loading…
Reference in New Issue
Block a user