{"action":"closed","issue":{"url":"https://api.github.com/repos/matt-attack/Jet/issues/2","labels_url":"https://api.github.com/repos/matt-attack/Jet/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/matt-attack/Jet/issues/2/comments","events_url":"https://api.github.com/repos/matt-attack/Jet/issues/2/events","html_url":"https://github.com/matt-attack/Jet/issues/2","id":53311080,"number":2,"title":"C++ function call with parameter","user":{"login":"StefanTrifunovic","id":370547,"avatar_url":"https://avatars.githubusercontent.com/u/370547?v=3","gravatar_id":"","url":"https://api.github.com/users/StefanTrifunovic","html_url":"https://github.com/StefanTrifunovic","followers_url":"https://api.github.com/users/StefanTrifunovic/followers","following_url":"https://api.github.com/users/StefanTrifunovic/following{/other_user}","gists_url":"https://api.github.com/users/StefanTrifunovic/gists{/gist_id}","starred_url":"https://api.github.com/users/StefanTrifunovic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StefanTrifunovic/subscriptions","organizations_url":"https://api.github.com/users/StefanTrifunovic/orgs","repos_url":"https://api.github.com/users/StefanTrifunovic/repos","events_url":"https://api.github.com/users/StefanTrifunovic/events{/privacy}","received_events_url":"https://api.github.com/users/StefanTrifunovic/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-03T18:18:00Z","updated_at":"2015-01-03T20:09:41Z","closed_at":"2015-01-03T20:09:41Z","body":"I want to call script function and pass parameter to it, but it returns **Null** . I don't know if my JetContext call is wrong, so I hope this can be resolved. Here's example from my test :\r\n\r\nCall from c++ : \r\n```cpp\r\n// Don't know if this is a right way to pass parameters to script function\r\n_ScriptContext->Call(\"onUpdate\", new Jet::Value(dt),1); // dt is float\r\n\r\n```\r\n\r\nScript : \r\n```javascript\r\nfun onUpdate(delta)\r\n{\r\n\tprint(delta);\r\n} \r\n```\r\nReturn in console : **Null**\r\n\r\nThanks in advance"}}