{"action":"created","comment":{"url":"https://api.github.com/repos/profedotc/cursoc-carlos/pulls/comments/60048508","id":60048508,"diff_hunk":"@@ -13,3 +13,7 @@ gol.o: src/gol.h src/gol.c\n \n clean:\n \trm -f *.o\n+\n+valgrind: main.o gol.o\n+\tgcc -std=c99 -g main.o gol.o -o main.out\n+\tvalgrind --leak-check=full ./main.out","path":"makefile","position":7,"original_position":7,"commit_id":"45ca079a043cc3093a071af434eb387057f5430f","original_commit_id":"4031cfedb6d704c8098493b22eb219ff33a5cd26","user":{"login":"profedotc","id":18260270,"avatar_url":"https://avatars.githubusercontent.com/u/18260270?v=3","gravatar_id":"","url":"https://api.github.com/users/profedotc","html_url":"https://github.com/profedotc","followers_url":"https://api.github.com/users/profedotc/followers","following_url":"https://api.github.com/users/profedotc/following{/other_user}","gists_url":"https://api.github.com/users/profedotc/gists{/gist_id}","starred_url":"https://api.github.com/users/profedotc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/profedotc/subscriptions","organizations_url":"https://api.github.com/users/profedotc/orgs","repos_url":"https://api.github.com/users/profedotc/repos","events_url":"https://api.github.com/users/profedotc/events{/privacy}","received_events_url":"https://api.github.com/users/profedotc/received_events","type":"User","site_admin":false},"body":"Truco:\r\n```makefile\r\n .PHONY: clean debug\r\n \r\n all: main\r\n\r\n# Establece la variable DEBUG en este objetivo y todos sus subobjetivos\r\ndebug: DEBUG = -g\r\ndebug: main\r\n \r\n main: main.o gol.o\r\n \tgcc -std=c99 $(DEBUG) main.o gol.o -o main.out\r\n \r\n main.o: src/main.c src/gol.h\r\n \tgcc -std=c99  $(DEBUG) -c src/main.c\r\n \r\n gol.o: src/gol.h src/gol.c\r\n \tgcc -std=c99  $(DEBUG) -c src/gol.c\r\n \r\n clean:\r\n \trm -f *.o\r\n\r\nvalgrind: debug\r\n\tvalgrind --leak-check=full ./main.out\r\n```\r\n\r\nNota: Hay mil formas más de hacer esto, mejores y peores.","created_at":"2016-04-18T12:26:12Z","updated_at":"2016-04-18T12:26:12Z","html_url":"https://github.com/profedotc/cursoc-carlos/pull/2#discussion_r60048508","pull_request_url":"https://api.github.com/repos/profedotc/cursoc-carlos/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/profedotc/cursoc-carlos/pulls/comments/60048508"},"html":{"href":"https://github.com/profedotc/cursoc-carlos/pull/2#discussion_r60048508"},"pull_request":{"href":"https://api.github.com/repos/profedotc/cursoc-carlos/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/profedotc/cursoc-carlos/pulls/2","id":66380354,"html_url":"https://github.com/profedotc/cursoc-carlos/pull/2","diff_url":"https://github.com/profedotc/cursoc-carlos/pull/2.diff","patch_url":"https://github.com/profedotc/cursoc-carlos/pull/2.patch","issue_url":"https://api.github.com/repos/profedotc/cursoc-carlos/issues/2","number":2,"state":"open","locked":false,"title":"Versión 2","user":{"login":"carrodher","id":13216600,"avatar_url":"https://avatars.githubusercontent.com/u/13216600?v=3","gravatar_id":"","url":"https://api.github.com/users/carrodher","html_url":"https://github.com/carrodher","followers_url":"https://api.github.com/users/carrodher/followers","following_url":"https://api.github.com/users/carrodher/following{/other_user}","gists_url":"https://api.github.com/users/carrodher/gists{/gist_id}","starred_url":"https://api.github.com/users/carrodher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carrodher/subscriptions","organizations_url":"https://api.github.com/users/carrodher/orgs","repos_url":"https://api.github.com/users/carrodher/repos","events_url":"https://api.github.com/users/carrodher/events{/privacy}","received_events_url":"https://api.github.com/users/carrodher/received_events","type":"User","site_admin":false},"body":"Tamaño del mundo reservado con calloc() y otras mejoras","created_at":"2016-04-13T19:48:55Z","updated_at":"2016-04-18T12:26:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"482e3752b82247b4def953f6d5c967f80ef66960","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/profedotc/cursoc-carlos/pulls/2/commits","review_comments_url":"https://api.github.com/repos/profedotc/cursoc-carlos/pulls/2/comments","review_comment_url":"https://api.github.com/repos/profedotc/cursoc-carlos/pulls/comments{/number}","comments_url":"https://api.github.com/repos/profedotc/cursoc-carlos/issues/2/comments","statuses_url":"https://api.github.com/repos/profedotc/cursoc-carlos/statuses/45ca079a043cc3093a071af434eb387057f5430f","head":{"label":"carrodher:master","ref":"master","sha":"45ca079a043cc3093a071af434eb387057f5430f","user":{"login":"carrodher","id":13216600,"avatar_url":"https://avatars.githubusercontent.com/u/13216600?v=3","gravatar_id":"","url":"https://api.github.com/users/carrodher","html_url":"https://github.com/carrodher","followers_url":"https://api.github.com/users/carrodher/followers","following_url":"https://api.github.com/users/carrodher/following{/other_user}","gists_url":"https://api.github.com/users/carrodher/gists{/gist_id}","starred_url":"https://api.github.com/users/carrodher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carrodher/subscriptions","organizations_url":"https://api.github.com/users/carrodher/orgs","repos_url":"https://api.github.com/users/carrodher/repos","events_url":"https://api.github.com/users/carrodher/events{/privacy}","received_events_url":"https://api.github.com/users/carrodher/received_events","type":"User","site_admin":false},"repo":{"id":55451909,"name":"cursoc-carlos","full_name":"carrodher/cursoc-carlos","owner":{"login":"carrodher","id":13216600,"avatar_url":"https://avatars.githubusercontent.com/u/13216600?v=3","gravatar_id":"","url":"https://api.github.com/users/carrodher","html_url":"https://github.com/carrodher","followers_url":"https://api.github.com/users/carrodher/followers","following_url":"https://api.github.com/users/carrodher/following{/other_user}","gists_url":"https://api.github.com/users/carrodher/gists{/gist_id}","starred_url":"https://api.github.com/users/carrodher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carrodher/subscriptions","organizations_url":"https://api.github.com/users/carrodher/orgs","repos_url":"https://api.github.com/users/carrodher/repos","events_url":"https://api.github.com/users/carrodher/events{/privacy}","received_events_url":"https://api.github.com/users/carrodher/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/carrodher/cursoc-carlos","description":"Trabajo del curso: \"C moderno\" II edición","fork":false,"url":"https://api.github.com/repos/carrodher/cursoc-carlos","forks_url":"https://api.github.com/repos/carrodher/cursoc-carlos/forks","keys_url":"https://api.github.com/repos/carrodher/cursoc-carlos/keys{/key_id}","collaborators_url":"https://api.github.com/repos/carrodher/cursoc-carlos/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/carrodher/cursoc-carlos/teams","hooks_url":"https://api.github.com/repos/carrodher/cursoc-carlos/hooks","issue_events_url":"https://api.github.com/repos/carrodher/cursoc-carlos/issues/events{/number}","events_url":"https://api.github.com/repos/carrodher/cursoc-carlos/events","assignees_url":"https://api.github.com/repos/carrodher/cursoc-carlos/assignees{/user}","branches_url":"https://api.github.com/repos/carrodher/cursoc-carlos/branches{/branch}","tags_url":"https://api.github.com/repos/carrodher/cursoc-carlos/tags","blobs_url":"https://api.github.com/repos/carrodher/cursoc-carlos/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/carrodher/cursoc-carlos/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/carrodher/cursoc-carlos/git/refs{/sha}","trees_url":"https://api.github.com/repos/carrodher/cursoc-carlos/git/trees{/sha}","statuses_url":"https://api.github.com/repos/carrodher/cursoc-carlos/statuses/{sha}","languages_url":"https://api.github.com/repos/carrodher/cursoc-carlos/languages","stargazers_url":"https://api.github.com/repos/carrodher/cursoc-carlos/stargazers","contributors_url":"https://api.github.com/repos/carrodher/cursoc-carlos/contributors","subscribers_url":"https://api.github.com/repos/carrodher/cursoc-carlos/subscribers","subscription_url":"https://api.github.com/repos/carrodher/cursoc-carlos/subscription","commits_url":"https://api.github.com/repos/carrodher/cursoc-carlos/commits{/sha}","git_commits_url":"https://api.github.com/repos/carrodher/cursoc-carlos/git/commits{/sha}","comments_url":"https://api.github.com/repos/carrodher/cursoc-carlos/comments{/number}","issue_comment_url":"https://api.github.com/repos/carrodher/cursoc-carlos/issues/comments{/number}","contents_url":"https://api.github.com/repos/carrodher/cursoc-carlos/contents/{+path}","compare_url":"https://api.github.com/repos/carrodher/cursoc-carlos/compare/{base}...{head}","merges_url":"https://api.github.com/repos/carrodher/cursoc-carlos/merges","archive_url":"https://api.github.com/repos/carrodher/cursoc-carlos/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/carrodher/cursoc-carlos/downloads","issues_url":"https://api.github.com/repos/carrodher/cursoc-carlos/issues{/number}","pulls_url":"https://api.github.com/repos/carrodher/cursoc-carlos/pulls{/number}","milestones_url":"https://api.github.com/repos/carrodher/cursoc-carlos/milestones{/number}","notifications_url":"https://api.github.com/repos/carrodher/cursoc-carlos/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/carrodher/cursoc-carlos/labels{/name}","releases_url":"https://api.github.com/repos/carrodher/cursoc-carlos/releases{/id}","deployments_url":"https://api.github.com/repos/carrodher/cursoc-carlos/deployments","created_at":"2016-04-04T23:09:53Z","updated_at":"2016-04-08T11:57:40Z","pushed_at":"2016-04-15T18:45:49Z","git_url":"git://github.com/carrodher/cursoc-carlos.git","ssh_url":"git@github.com:carrodher/cursoc-carlos.git","clone_url":"https://github.com/carrodher/cursoc-carlos.git","svn_url":"https://github.com/carrodher/cursoc-carlos","homepage":null,"size":6125,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"profedotc:master","ref":"master","sha":"7ec7b9a466cd5e53a654abfbb9c3b6a66a43910d","user":{"login":"profedotc","id":18260270,"avatar_url":"https://avatars.githubusercontent.com/u/18260270?v=3","gravatar_id":"","url":"https://api.github.com/users/profedotc","html_url":"https://github.com/profedotc","followers_url":"https://api.github.com/users/profedotc/followers","following_url":"https://api.github.com/users/profedotc/following{/other_user}","gists_url":"https://api.github.com/users/profedotc/gists{/gist_id}","starred_url":"https://api.github.com/users/profedotc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/profedotc/subscriptions","organizations_url":"https://api.github.com/users/profedotc/orgs","repos_url":"https://api.github.com/users/profedotc/repos","events_url":"https://api.github.com/users/profedotc/events{/privacy}","received_events_url":"https://api.github.com/users/profedotc/received_events","type":"User","site_admin":false},"repo":{"id":55597747,"name":"cursoc-carlos","full_name":"profedotc/cursoc-carlos","owner":{"login":"profedotc","id":18260270,"avatar_url":"https://avatars.githubusercontent.com/u/18260270?v=3","gravatar_id":"","url":"https://api.github.com/users/profedotc","html_url":"https://github.com/profedotc","followers_url":"https://api.github.com/users/profedotc/followers","following_url":"https://api.github.com/users/profedotc/following{/other_user}","gists_url":"https://api.github.com/users/profedotc/gists{/gist_id}","starred_url":"https://api.github.com/users/profedotc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/profedotc/subscriptions","organizations_url":"https://api.github.com/users/profedotc/orgs","repos_url":"https://api.github.com/users/profedotc/repos","events_url":"https://api.github.com/users/profedotc/events{/privacy}","received_events_url":"https://api.github.com/users/profedotc/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/profedotc/cursoc-carlos","description":"Trabajo del curso: \"C moderno\" II edición","fork":true,"url":"https://api.github.com/repos/profedotc/cursoc-carlos","forks_url":"https://api.github.com/repos/profedotc/cursoc-carlos/forks","keys_url":"https://api.github.com/repos/profedotc/cursoc-carlos/keys{/key_id}","collaborators_url":"https://api.github.com/repos/profedotc/cursoc-carlos/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/profedotc/cursoc-carlos/teams","hooks_url":"https://api.github.com/repos/profedotc/cursoc-carlos/hooks","issue_events_url":"https://api.github.com/repos/profedotc/cursoc-carlos/issues/events{/number}","events_url":"https://api.github.com/repos/profedotc/cursoc-carlos/events","assignees_url":"https://api.github.com/repos/profedotc/cursoc-carlos/assignees{/user}","branches_url":"https://api.github.com/repos/profedotc/cursoc-carlos/branches{/branch}","tags_url":"https://api.github.com/repos/profedotc/cursoc-carlos/tags","blobs_url":"https://api.github.com/repos/profedotc/cursoc-carlos/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/profedotc/cursoc-carlos/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/profedotc/cursoc-carlos/git/refs{/sha}","trees_url":"https://api.github.com/repos/profedotc/cursoc-carlos/git/trees{/sha}","statuses_url":"https://api.github.com/repos/profedotc/cursoc-carlos/statuses/{sha}","languages_url":"https://api.github.com/repos/profedotc/cursoc-carlos/languages","stargazers_url":"https://api.github.com/repos/profedotc/cursoc-carlos/stargazers","contributors_url":"https://api.github.com/repos/profedotc/cursoc-carlos/contributors","subscribers_url":"https://api.github.com/repos/profedotc/cursoc-carlos/subscribers","subscription_url":"https://api.github.com/repos/profedotc/cursoc-carlos/subscription","commits_url":"https://api.github.com/repos/profedotc/cursoc-carlos/commits{/sha}","git_commits_url":"https://api.github.com/repos/profedotc/cursoc-carlos/git/commits{/sha}","comments_url":"https://api.github.com/repos/profedotc/cursoc-carlos/comments{/number}","issue_comment_url":"https://api.github.com/repos/profedotc/cursoc-carlos/issues/comments{/number}","contents_url":"https://api.github.com/repos/profedotc/cursoc-carlos/contents/{+path}","compare_url":"https://api.github.com/repos/profedotc/cursoc-carlos/compare/{base}...{head}","merges_url":"https://api.github.com/repos/profedotc/cursoc-carlos/merges","archive_url":"https://api.github.com/repos/profedotc/cursoc-carlos/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/profedotc/cursoc-carlos/downloads","issues_url":"https://api.github.com/repos/profedotc/cursoc-carlos/issues{/number}","pulls_url":"https://api.github.com/repos/profedotc/cursoc-carlos/pulls{/number}","milestones_url":"https://api.github.com/repos/profedotc/cursoc-carlos/milestones{/number}","notifications_url":"https://api.github.com/repos/profedotc/cursoc-carlos/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/profedotc/cursoc-carlos/labels{/name}","releases_url":"https://api.github.com/repos/profedotc/cursoc-carlos/releases{/id}","deployments_url":"https://api.github.com/repos/profedotc/cursoc-carlos/deployments","created_at":"2016-04-06T10:42:53Z","updated_at":"2016-04-10T09:01:31Z","pushed_at":"2016-04-15T18:45:50Z","git_url":"git://github.com/profedotc/cursoc-carlos.git","ssh_url":"git@github.com:profedotc/cursoc-carlos.git","clone_url":"https://github.com/profedotc/cursoc-carlos.git","svn_url":"https://github.com/profedotc/cursoc-carlos","homepage":null,"size":6124,"stargazers_count":1,"watchers_count":1,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/profedotc/cursoc-carlos/pulls/2"},"html":{"href":"https://github.com/profedotc/cursoc-carlos/pull/2"},"issue":{"href":"https://api.github.com/repos/profedotc/cursoc-carlos/issues/2"},"comments":{"href":"https://api.github.com/repos/profedotc/cursoc-carlos/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/profedotc/cursoc-carlos/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/profedotc/cursoc-carlos/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/profedotc/cursoc-carlos/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/profedotc/cursoc-carlos/statuses/45ca079a043cc3093a071af434eb387057f5430f"}}}}