Revision: 7531
Author:   [email protected]
Date:     Thu Apr  7 01:41:37 2011
Log:      Make preparser api be exported in shared libraries.

Adds missing V8EXPORT declarations to types in v8-preparser.h.

BUG=
TEST=

Review URL: http://codereview.chromium.org/6812012
http://code.google.com/p/v8/source/detail?r=7531

Modified:
 /branches/bleeding_edge/include/v8-preparser.h

=======================================
--- /branches/bleeding_edge/include/v8-preparser.h      Wed Mar 30 03:13:11 2011
+++ /branches/bleeding_edge/include/v8-preparser.h      Thu Apr  7 01:41:37 2011
@@ -1,4 +1,4 @@
-// Copyright 2010 the V8 project authors. All rights reserved.
+// Copyright 2011 the V8 project authors. All rights reserved.
 // Redistribution and use in source and binary forms, with or without
 // modification, are permitted provided that the following conditions are
 // met:
@@ -67,16 +67,16 @@
 namespace v8 {


-class PreParserData {
+class V8EXPORT PreParserData {
  public:
   PreParserData(size_t size, const uint8_t* data)
       : data_(data), size_(size) { }

   // Create a PreParserData value where stack_overflow reports true.
   static PreParserData StackOverflow() { return PreParserData(0, NULL); }
+
   // Whether the pre-parser stopped due to a stack overflow.
   // If this is the case, size() and data() should not be used.
-
   bool stack_overflow() { return size_ == 0u; }

   // The size of the data in bytes.
@@ -92,7 +92,7 @@


 // Interface for a stream of Unicode characters.
-class UnicodeInputStream {
+class V8EXPORT UnicodeInputStream { // NOLINT - Thinks V8EXPORT is class name.
  public:
   virtual ~UnicodeInputStream();

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to