{"action":"created","issue":{"url":"https://api.github.com/repos/swig/swig/issues/638","repository_url":"https://api.github.com/repos/swig/swig","labels_url":"https://api.github.com/repos/swig/swig/issues/638/labels{/name}","comments_url":"https://api.github.com/repos/swig/swig/issues/638/comments","events_url":"https://api.github.com/repos/swig/swig/issues/638/events","html_url":"https://github.com/swig/swig/issues/638","id":141763246,"number":638,"title":"[javascript] How can I get a char* OUTPUT from c++ to javascript ?","user":{"login":"liangxinhui","id":2174869,"avatar_url":"https://avatars.githubusercontent.com/u/2174869?v=3","gravatar_id":"","url":"https://api.github.com/users/liangxinhui","html_url":"https://github.com/liangxinhui","followers_url":"https://api.github.com/users/liangxinhui/followers","following_url":"https://api.github.com/users/liangxinhui/following{/other_user}","gists_url":"https://api.github.com/users/liangxinhui/gists{/gist_id}","starred_url":"https://api.github.com/users/liangxinhui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liangxinhui/subscriptions","organizations_url":"https://api.github.com/users/liangxinhui/orgs","repos_url":"https://api.github.com/users/liangxinhui/repos","events_url":"https://api.github.com/users/liangxinhui/events{/privacy}","received_events_url":"https://api.github.com/users/liangxinhui/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-18T03:19:35Z","updated_at":"2016-03-23T22:13:10Z","closed_at":null,"body":"I have a c++ interface like this:\r\n\r\n`int foo(char* pStrOut);`\r\n\r\nthe `pStrOut` is an output argument. I want deal with it in javascript as String.\r\n\r\nI searched in the swig example of  `javascript`, and didn't get it.\r\n\r\nPlease help me, thanks!"},"comment":{"url":"https://api.github.com/repos/swig/swig/issues/comments/200564646","html_url":"https://github.com/swig/swig/issues/638#issuecomment-200564646","issue_url":"https://api.github.com/repos/swig/swig/issues/638","id":200564646,"user":{"login":"ptomulik","id":1761140,"avatar_url":"https://avatars.githubusercontent.com/u/1761140?v=3","gravatar_id":"","url":"https://api.github.com/users/ptomulik","html_url":"https://github.com/ptomulik","followers_url":"https://api.github.com/users/ptomulik/followers","following_url":"https://api.github.com/users/ptomulik/following{/other_user}","gists_url":"https://api.github.com/users/ptomulik/gists{/gist_id}","starred_url":"https://api.github.com/users/ptomulik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ptomulik/subscriptions","organizations_url":"https://api.github.com/users/ptomulik/orgs","repos_url":"https://api.github.com/users/ptomulik/repos","events_url":"https://api.github.com/users/ptomulik/events{/privacy}","received_events_url":"https://api.github.com/users/ptomulik/received_events","type":"User","site_admin":false},"created_at":"2016-03-23T22:13:10Z","updated_at":"2016-03-23T22:13:10Z","body":"I think, you should rather send this question to the swig-user mailing list.\r\n\r\nhttp://www.swig.org/mail.html\r\nhttps://sourceforge.net/p/swig/mailman/swig-user/\r\nhttps://lists.sourceforge.net/lists/listinfo/swig-user"}}