I'd like to be able to access the Arguments& args of a callback. Right now when I set the C++ function to be called from the JavaScript side it looks like this:
global->Set(String::New("login"), FunctionTemplate::New(Login));
And the prototype of the C++ function is:
Handle<Value> MyClass::Login(const Arguments& args)
How do I access this Arguments& args so that I can pass in a variable when the callback occurs? Thanks for the help.