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 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7531 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
adf509f159
commit
c7c57227dd
@ -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 @@ class PreParserData {
|
||||
|
||||
|
||||
// Interface for a stream of Unicode characters.
|
||||
class UnicodeInputStream {
|
||||
class V8EXPORT UnicodeInputStream { // NOLINT - Thinks V8EXPORT is class name.
|
||||
public:
|
||||
virtual ~UnicodeInputStream();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user