{"action":"created","comment":{"url":"https://api.github.com/repos/falltergeist/falltergeist/pulls/comments/25664558","id":25664558,"diff_hunk":"@@ -63,34 +63,23 @@ std::string VM::filename()\n \n bool VM::hasFunction(std::string name)\n {\n-    try\n-    {\n-        _script->function(name);\n-    }\n-    catch (libfalltergeist::Exception &e)\n-    {\n-        return false;\n-    }\n-    return true;\n+    return _script->procedure(name) != 0;","path":"src/VM/VM.cpp","position":13,"original_position":13,"commit_id":"6936c644e5a56615246f2ae59b2ce7f8a4f1b16e","original_commit_id":"6936c644e5a56615246f2ae59b2ce7f8a4f1b16e","user":{"login":"phobos2077","id":4744345,"avatar_url":"https://avatars.githubusercontent.com/u/4744345?v=3","gravatar_id":"","url":"https://api.github.com/users/phobos2077","html_url":"https://github.com/phobos2077","followers_url":"https://api.github.com/users/phobos2077/followers","following_url":"https://api.github.com/users/phobos2077/following{/other_user}","gists_url":"https://api.github.com/users/phobos2077/gists{/gist_id}","starred_url":"https://api.github.com/users/phobos2077/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phobos2077/subscriptions","organizations_url":"https://api.github.com/users/phobos2077/orgs","repos_url":"https://api.github.com/users/phobos2077/repos","events_url":"https://api.github.com/users/phobos2077/events{/privacy}","received_events_url":"https://api.github.com/users/phobos2077/received_events","type":"User","site_admin":false},"body":"Campare with zero? Maybe objptr will be better?","created_at":"2015-03-03T05:43:08Z","updated_at":"2015-03-03T05:43:08Z","html_url":"https://github.com/falltergeist/falltergeist/pull/321#discussion_r25664558","pull_request_url":"https://api.github.com/repos/falltergeist/falltergeist/pulls/321","_links":{"self":{"href":"https://api.github.com/repos/falltergeist/falltergeist/pulls/comments/25664558"},"html":{"href":"https://github.com/falltergeist/falltergeist/pull/321#discussion_r25664558"},"pull_request":{"href":"https://api.github.com/repos/falltergeist/falltergeist/pulls/321"}}},"pull_request":{"url":"https://api.github.com/repos/falltergeist/falltergeist/pulls/321","id":30303606,"html_url":"https://github.com/falltergeist/falltergeist/pull/321","diff_url":"https://github.com/falltergeist/falltergeist/pull/321.diff","patch_url":"https://github.com/falltergeist/falltergeist/pull/321.patch","issue_url":"https://api.github.com/repos/falltergeist/falltergeist/issues/321","number":321,"state":"closed","locked":false,"title":"New library version && Animation rendering bug fix","user":{"login":"alexeevdv","id":597839,"avatar_url":"https://avatars.githubusercontent.com/u/597839?v=3","gravatar_id":"","url":"https://api.github.com/users/alexeevdv","html_url":"https://github.com/alexeevdv","followers_url":"https://api.github.com/users/alexeevdv/followers","following_url":"https://api.github.com/users/alexeevdv/following{/other_user}","gists_url":"https://api.github.com/users/alexeevdv/gists{/gist_id}","starred_url":"https://api.github.com/users/alexeevdv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexeevdv/subscriptions","organizations_url":"https://api.github.com/users/alexeevdv/orgs","repos_url":"https://api.github.com/users/alexeevdv/repos","events_url":"https://api.github.com/users/alexeevdv/events{/privacy}","received_events_url":"https://api.github.com/users/alexeevdv/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-03-02T17:41:17Z","updated_at":"2015-03-03T05:43:08Z","closed_at":"2015-03-02T20:46:08Z","merged_at":"2015-03-02T20:46:08Z","merge_commit_sha":"60bcc5803f2fb8427ef280e78a3d32f300e157d6","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/falltergeist/falltergeist/pulls/321/commits","review_comments_url":"https://api.github.com/repos/falltergeist/falltergeist/pulls/321/comments","review_comment_url":"https://api.github.com/repos/falltergeist/falltergeist/pulls/comments{/number}","comments_url":"https://api.github.com/repos/falltergeist/falltergeist/issues/321/comments","statuses_url":"https://api.github.com/repos/falltergeist/falltergeist/statuses/6936c644e5a56615246f2ae59b2ce7f8a4f1b16e","head":{"label":"alexeevdv:master","ref":"master","sha":"6936c644e5a56615246f2ae59b2ce7f8a4f1b16e","user":{"login":"alexeevdv","id":597839,"avatar_url":"https://avatars.githubusercontent.com/u/597839?v=3","gravatar_id":"","url":"https://api.github.com/users/alexeevdv","html_url":"https://github.com/alexeevdv","followers_url":"https://api.github.com/users/alexeevdv/followers","following_url":"https://api.github.com/users/alexeevdv/following{/other_user}","gists_url":"https://api.github.com/users/alexeevdv/gists{/gist_id}","starred_url":"https://api.github.com/users/alexeevdv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexeevdv/subscriptions","organizations_url":"https://api.github.com/users/alexeevdv/orgs","repos_url":"https://api.github.com/users/alexeevdv/repos","events_url":"https://api.github.com/users/alexeevdv/events{/privacy}","received_events_url":"https://api.github.com/users/alexeevdv/received_events","type":"User","site_admin":false},"repo":{"id":30607668,"name":"falltergeist","full_name":"alexeevdv/falltergeist","owner":{"login":"alexeevdv","id":597839,"avatar_url":"https://avatars.githubusercontent.com/u/597839?v=3","gravatar_id":"","url":"https://api.github.com/users/alexeevdv","html_url":"https://github.com/alexeevdv","followers_url":"https://api.github.com/users/alexeevdv/followers","following_url":"https://api.github.com/users/alexeevdv/following{/other_user}","gists_url":"https://api.github.com/users/alexeevdv/gists{/gist_id}","starred_url":"https://api.github.com/users/alexeevdv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexeevdv/subscriptions","organizations_url":"https://api.github.com/users/alexeevdv/orgs","repos_url":"https://api.github.com/users/alexeevdv/repos","events_url":"https://api.github.com/users/alexeevdv/events{/privacy}","received_events_url":"https://api.github.com/users/alexeevdv/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/alexeevdv/falltergeist","description":"Opensource crossplatform Fallout 2™ game engine writen in C++ and SDL. Current version: 0.2.0","fork":true,"url":"https://api.github.com/repos/alexeevdv/falltergeist","forks_url":"https://api.github.com/repos/alexeevdv/falltergeist/forks","keys_url":"https://api.github.com/repos/alexeevdv/falltergeist/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alexeevdv/falltergeist/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alexeevdv/falltergeist/teams","hooks_url":"https://api.github.com/repos/alexeevdv/falltergeist/hooks","issue_events_url":"https://api.github.com/repos/alexeevdv/falltergeist/issues/events{/number}","events_url":"https://api.github.com/repos/alexeevdv/falltergeist/events","assignees_url":"https://api.github.com/repos/alexeevdv/falltergeist/assignees{/user}","branches_url":"https://api.github.com/repos/alexeevdv/falltergeist/branches{/branch}","tags_url":"https://api.github.com/repos/alexeevdv/falltergeist/tags","blobs_url":"https://api.github.com/repos/alexeevdv/falltergeist/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alexeevdv/falltergeist/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alexeevdv/falltergeist/git/refs{/sha}","trees_url":"https://api.github.com/repos/alexeevdv/falltergeist/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alexeevdv/falltergeist/statuses/{sha}","languages_url":"https://api.github.com/repos/alexeevdv/falltergeist/languages","stargazers_url":"https://api.github.com/repos/alexeevdv/falltergeist/stargazers","contributors_url":"https://api.github.com/repos/alexeevdv/falltergeist/contributors","subscribers_url":"https://api.github.com/repos/alexeevdv/falltergeist/subscribers","subscription_url":"https://api.github.com/repos/alexeevdv/falltergeist/subscription","commits_url":"https://api.github.com/repos/alexeevdv/falltergeist/commits{/sha}","git_commits_url":"https://api.github.com/repos/alexeevdv/falltergeist/git/commits{/sha}","comments_url":"https://api.github.com/repos/alexeevdv/falltergeist/comments{/number}","issue_comment_url":"https://api.github.com/repos/alexeevdv/falltergeist/issues/comments{/number}","contents_url":"https://api.github.com/repos/alexeevdv/falltergeist/contents/{+path}","compare_url":"https://api.github.com/repos/alexeevdv/falltergeist/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alexeevdv/falltergeist/merges","archive_url":"https://api.github.com/repos/alexeevdv/falltergeist/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alexeevdv/falltergeist/downloads","issues_url":"https://api.github.com/repos/alexeevdv/falltergeist/issues{/number}","pulls_url":"https://api.github.com/repos/alexeevdv/falltergeist/pulls{/number}","milestones_url":"https://api.github.com/repos/alexeevdv/falltergeist/milestones{/number}","notifications_url":"https://api.github.com/repos/alexeevdv/falltergeist/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alexeevdv/falltergeist/labels{/name}","releases_url":"https://api.github.com/repos/alexeevdv/falltergeist/releases{/id}","created_at":"2015-02-10T18:35:20Z","updated_at":"2015-03-02T20:50:38Z","pushed_at":"2015-03-02T20:51:09Z","git_url":"git://github.com/alexeevdv/falltergeist.git","ssh_url":"git@github.com:alexeevdv/falltergeist.git","clone_url":"https://github.com/alexeevdv/falltergeist.git","svn_url":"https://github.com/alexeevdv/falltergeist","homepage":"https://falltergeist.org/","size":4701,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"falltergeist:master","ref":"master","sha":"5b2dc528995e6be846433a8c8a74b918dada425f","user":{"login":"falltergeist","id":10937205,"avatar_url":"https://avatars.githubusercontent.com/u/10937205?v=3","gravatar_id":"","url":"https://api.github.com/users/falltergeist","html_url":"https://github.com/falltergeist","followers_url":"https://api.github.com/users/falltergeist/followers","following_url":"https://api.github.com/users/falltergeist/following{/other_user}","gists_url":"https://api.github.com/users/falltergeist/gists{/gist_id}","starred_url":"https://api.github.com/users/falltergeist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/falltergeist/subscriptions","organizations_url":"https://api.github.com/users/falltergeist/orgs","repos_url":"https://api.github.com/users/falltergeist/repos","events_url":"https://api.github.com/users/falltergeist/events{/privacy}","received_events_url":"https://api.github.com/users/falltergeist/received_events","type":"Organization","site_admin":false},"repo":{"id":6838493,"name":"falltergeist","full_name":"falltergeist/falltergeist","owner":{"login":"falltergeist","id":10937205,"avatar_url":"https://avatars.githubusercontent.com/u/10937205?v=3","gravatar_id":"","url":"https://api.github.com/users/falltergeist","html_url":"https://github.com/falltergeist","followers_url":"https://api.github.com/users/falltergeist/followers","following_url":"https://api.github.com/users/falltergeist/following{/other_user}","gists_url":"https://api.github.com/users/falltergeist/gists{/gist_id}","starred_url":"https://api.github.com/users/falltergeist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/falltergeist/subscriptions","organizations_url":"https://api.github.com/users/falltergeist/orgs","repos_url":"https://api.github.com/users/falltergeist/repos","events_url":"https://api.github.com/users/falltergeist/events{/privacy}","received_events_url":"https://api.github.com/users/falltergeist/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/falltergeist/falltergeist","description":"Opensource crossplatform Fallout 2™ game engine writen in C++ and SDL. Current version: 0.2.0","fork":false,"url":"https://api.github.com/repos/falltergeist/falltergeist","forks_url":"https://api.github.com/repos/falltergeist/falltergeist/forks","keys_url":"https://api.github.com/repos/falltergeist/falltergeist/keys{/key_id}","collaborators_url":"https://api.github.com/repos/falltergeist/falltergeist/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/falltergeist/falltergeist/teams","hooks_url":"https://api.github.com/repos/falltergeist/falltergeist/hooks","issue_events_url":"https://api.github.com/repos/falltergeist/falltergeist/issues/events{/number}","events_url":"https://api.github.com/repos/falltergeist/falltergeist/events","assignees_url":"https://api.github.com/repos/falltergeist/falltergeist/assignees{/user}","branches_url":"https://api.github.com/repos/falltergeist/falltergeist/branches{/branch}","tags_url":"https://api.github.com/repos/falltergeist/falltergeist/tags","blobs_url":"https://api.github.com/repos/falltergeist/falltergeist/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/falltergeist/falltergeist/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/falltergeist/falltergeist/git/refs{/sha}","trees_url":"https://api.github.com/repos/falltergeist/falltergeist/git/trees{/sha}","statuses_url":"https://api.github.com/repos/falltergeist/falltergeist/statuses/{sha}","languages_url":"https://api.github.com/repos/falltergeist/falltergeist/languages","stargazers_url":"https://api.github.com/repos/falltergeist/falltergeist/stargazers","contributors_url":"https://api.github.com/repos/falltergeist/falltergeist/contributors","subscribers_url":"https://api.github.com/repos/falltergeist/falltergeist/subscribers","subscription_url":"https://api.github.com/repos/falltergeist/falltergeist/subscription","commits_url":"https://api.github.com/repos/falltergeist/falltergeist/commits{/sha}","git_commits_url":"https://api.github.com/repos/falltergeist/falltergeist/git/commits{/sha}","comments_url":"https://api.github.com/repos/falltergeist/falltergeist/comments{/number}","issue_comment_url":"https://api.github.com/repos/falltergeist/falltergeist/issues/comments{/number}","contents_url":"https://api.github.com/repos/falltergeist/falltergeist/contents/{+path}","compare_url":"https://api.github.com/repos/falltergeist/falltergeist/compare/{base}...{head}","merges_url":"https://api.github.com/repos/falltergeist/falltergeist/merges","archive_url":"https://api.github.com/repos/falltergeist/falltergeist/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/falltergeist/falltergeist/downloads","issues_url":"https://api.github.com/repos/falltergeist/falltergeist/issues{/number}","pulls_url":"https://api.github.com/repos/falltergeist/falltergeist/pulls{/number}","milestones_url":"https://api.github.com/repos/falltergeist/falltergeist/milestones{/number}","notifications_url":"https://api.github.com/repos/falltergeist/falltergeist/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/falltergeist/falltergeist/labels{/name}","releases_url":"https://api.github.com/repos/falltergeist/falltergeist/releases{/id}","created_at":"2012-11-24T10:08:12Z","updated_at":"2015-03-02T20:46:10Z","pushed_at":"2015-03-02T20:54:12Z","git_url":"git://github.com/falltergeist/falltergeist.git","ssh_url":"git@github.com:falltergeist/falltergeist.git","clone_url":"https://github.com/falltergeist/falltergeist.git","svn_url":"https://github.com/falltergeist/falltergeist","homepage":"https://falltergeist.org/","size":8277,"stargazers_count":69,"watchers_count":69,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":15,"mirror_url":null,"open_issues_count":55,"forks":15,"open_issues":55,"watchers":69,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/falltergeist/falltergeist/pulls/321"},"html":{"href":"https://github.com/falltergeist/falltergeist/pull/321"},"issue":{"href":"https://api.github.com/repos/falltergeist/falltergeist/issues/321"},"comments":{"href":"https://api.github.com/repos/falltergeist/falltergeist/issues/321/comments"},"review_comments":{"href":"https://api.github.com/repos/falltergeist/falltergeist/pulls/321/comments"},"review_comment":{"href":"https://api.github.com/repos/falltergeist/falltergeist/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/falltergeist/falltergeist/pulls/321/commits"},"statuses":{"href":"https://api.github.com/repos/falltergeist/falltergeist/statuses/6936c644e5a56615246f2ae59b2ce7f8a4f1b16e"}}}}