{"action":"created","issue":{"url":"https://api.github.com/repos/nodejs/nan/issues/604","repository_url":"https://api.github.com/repos/nodejs/nan","labels_url":"https://api.github.com/repos/nodejs/nan/issues/604/labels{/name}","comments_url":"https://api.github.com/repos/nodejs/nan/issues/604/comments","events_url":"https://api.github.com/repos/nodejs/nan/issues/604/events","html_url":"https://github.com/nodejs/nan/issues/604","id":176596863,"number":604,"title":"is it possible to declare NAN_METHOD outside of its class?","user":{"login":"sulliwane","id":1733686,"avatar_url":"https://avatars.githubusercontent.com/u/1733686?v=3","gravatar_id":"","url":"https://api.github.com/users/sulliwane","html_url":"https://github.com/sulliwane","followers_url":"https://api.github.com/users/sulliwane/followers","following_url":"https://api.github.com/users/sulliwane/following{/other_user}","gists_url":"https://api.github.com/users/sulliwane/gists{/gist_id}","starred_url":"https://api.github.com/users/sulliwane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sulliwane/subscriptions","organizations_url":"https://api.github.com/users/sulliwane/orgs","repos_url":"https://api.github.com/users/sulliwane/repos","events_url":"https://api.github.com/users/sulliwane/events{/privacy}","received_events_url":"https://api.github.com/users/sulliwane/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-09-13T09:49:10Z","updated_at":"2016-09-13T09:54:47Z","closed_at":"2016-09-13T09:54:47Z","body":"Hello,\r\n\r\nI'm trying to do this:\r\n```cpp\r\nclass MyClass;\r\nMyClass::NAN_METHOD(method);\r\n```\r\nBut as I expected it doesn't work. Is it possible to separate NAN_METHOD definition to its implementation?\r\n\r\nMany thanks for your answers :) "},"comment":{"url":"https://api.github.com/repos/nodejs/nan/issues/comments/246632718","html_url":"https://github.com/nodejs/nan/issues/604#issuecomment-246632718","issue_url":"https://api.github.com/repos/nodejs/nan/issues/604","id":246632718,"user":{"login":"sulliwane","id":1733686,"avatar_url":"https://avatars.githubusercontent.com/u/1733686?v=3","gravatar_id":"","url":"https://api.github.com/users/sulliwane","html_url":"https://github.com/sulliwane","followers_url":"https://api.github.com/users/sulliwane/followers","following_url":"https://api.github.com/users/sulliwane/following{/other_user}","gists_url":"https://api.github.com/users/sulliwane/gists{/gist_id}","starred_url":"https://api.github.com/users/sulliwane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sulliwane/subscriptions","organizations_url":"https://api.github.com/users/sulliwane/orgs","repos_url":"https://api.github.com/users/sulliwane/repos","events_url":"https://api.github.com/users/sulliwane/events{/privacy}","received_events_url":"https://api.github.com/users/sulliwane/received_events","type":"User","site_admin":false},"created_at":"2016-09-13T09:54:47Z","updated_at":"2016-09-13T09:54:47Z","body":"Ok it works with your example, that was obvious indeed....my mistake! many thanks for your prompt reply :)"}}
{"actor":{"display_login":"sulliwane"}}