Left: | ||
Right: |
LEFT | RIGHT |
---|---|
1 #ifndef ADBLOCK_PLUS_UTILS_H | 1 #ifndef ADBLOCK_PLUS_UTILS_H |
2 #define ADBLOCK_PLUS_UTILS_H | 2 #define ADBLOCK_PLUS_UTILS_H |
3 | |
4 #include <v8.h> | |
3 | 5 |
4 namespace AdblockPlus | 6 namespace AdblockPlus |
5 { | 7 { |
6 namespace Utils | 8 namespace Utils |
7 { | 9 { |
8 std::string Slurp(std::istream& stream); | 10 std::string Slurp(std::ios& stream); |
11 std::string FromV8String(v8::Handle<v8::Value> value); | |
12 v8::Local<v8::String> ToV8String(const std::string& str); | |
9 } | 13 } |
10 } | 14 } |
11 | 15 |
12 #endif | 16 #endif |
LEFT | RIGHT |