blob: 806d7afc90965e251e8f0aa6dbe715945fa1e27c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#include "node_string.h"
namespace node {
using namespace v8;
Handle<String> ImmutableAsciiSource::CreateFromLiteral(
const char *string_literal,
size_t length) {
HandleScope scope;
Local<String> ret = String::NewExternal(new ImmutableAsciiSource(
string_literal,
length));
return scope.Close(ret);
}
}
|