Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 64d077f4bf
Fetching contributors…

Cannot retrieve contributors at this time

25 lines (19 sloc) 0.404 kb
#include <cstdlib>
#include <cassert>
#include "common.h"
using namespace v8;
Handle<Value>
ErrorException(const char *msg)
{
HandleScope scope;
return Exception::Error(String::New(msg));
}
Handle<Value>
VException(const char *msg) {
HandleScope scope;
return ThrowException(ErrorException(msg));
}
bool str_eq(const char *s1, const char *s2)
{
return strcmp(s1, s2) == 0;
}
Jump to Line
Something went wrong with that request. Please try again.