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

Unified Diff: src/third_party/jscre/pcre_internal.h

Issue 12496: Add v8::jscre namespace around jscre functions to avoid link errors with jsc ... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 12 years, 1 month 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 | « src/third_party/jscre/pcre_exec.cpp ('k') | src/third_party/jscre/pcre_tables.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/third_party/jscre/pcre_internal.h
===================================================================
--- src/third_party/jscre/pcre_internal.h (revision 848)
+++ src/third_party/jscre/pcre_internal.h (working copy)
@@ -103,6 +103,8 @@
#define DPRINTF(p) /*nothing*/
#endif
+namespace v8 { namespace jscre {
+
/* PCRE keeps offsets in its compiled code as 2-byte quantities (always stored
in big-endian order) by default. These are used, for example, to link from the
start of a subpattern to its alternatives and its end. The use of 2 bytes per
@@ -416,6 +418,7 @@
extern int kjs_pcre_ucp_othercase(unsigned);
extern bool kjs_pcre_xclass(int, const unsigned char*);
+} } // namespace v8::jscre
#endif
#endif
« no previous file with comments | « src/third_party/jscre/pcre_exec.cpp ('k') | src/third_party/jscre/pcre_tables.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698