Subversion Repositories HomeAutomation

Rev

Rev 1945 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed

Rev 1945 Rev 1947
Line 40... Line 40...
40
  v8::HandleScope handle_scope;
40
  v8::HandleScope handle_scope;
41
 
41
 
42
#define ATOM_VM_PLUGIN_NUM_PARAMS(number)                                     \
42
#define ATOM_VM_PLUGIN_NUM_PARAMS(number)                                     \
43
  if (args.Length() < number)                                                 \
43
  if (args.Length() < number)                                                 \
44
  {                                                                           \
44
  {                                                                           \
45
    throw atom::exception::missing_in_param;                                  \
45
    throw atom::exception::missing_in_param();                                  \
46
  }
46
  }
47
 
47
 
48
class Plugin
48
class Plugin
49
{
49
{
50
public:
50
public: