Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(206)

Unified Diff: source/tools/toolutil/ucbuf.h

Issue 1621843002: ICU 56 update step 1 (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/icu.git@561
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « source/tools/toolutil/toolutil.vcxproj ('k') | source/tools/toolutil/udbgutil.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: source/tools/toolutil/ucbuf.h
diff --git a/source/tools/toolutil/ucbuf.h b/source/tools/toolutil/ucbuf.h
index 100e29b7f9bd4383c588e3a3f66aed5f4c244f60..37fc783dec834802c3fbd6cba30016b583caf152 100644
--- a/source/tools/toolutil/ucbuf.h
+++ b/source/tools/toolutil/ucbuf.h
@@ -1,7 +1,7 @@
/*
*******************************************************************************
*
-* Copyright (C) 1998-2008, International Business Machines
+* Copyright (C) 1998-2015, International Business Machines
* Corporation and others. All Rights Reserved.
*
*******************************************************************************
@@ -137,6 +137,16 @@ ucbuf_getBuffer(UCHARBUF* buf,int32_t* len,UErrorCode* err);
U_CAPI void U_EXPORT2
ucbuf_close(UCHARBUF* buf);
+#if U_SHOW_CPLUSPLUS_API
+
+U_NAMESPACE_BEGIN
+
+U_DEFINE_LOCAL_OPEN_POINTER(LocalUCHARBUFPointer, UCHARBUF, ucbuf_close);
+
+U_NAMESPACE_END
+
+#endif
+
/**
* Rewinds the buffer by one codepoint. Does not rewind over escaped characters.
*/
« no previous file with comments | « source/tools/toolutil/toolutil.vcxproj ('k') | source/tools/toolutil/udbgutil.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698