{"action":"created","issue":{"url":"https://api.github.com/repos/p-org/P/issues/33","repository_url":"https://api.github.com/repos/p-org/P","labels_url":"https://api.github.com/repos/p-org/P/issues/33/labels{/name}","comments_url":"https://api.github.com/repos/p-org/P/issues/33/comments","events_url":"https://api.github.com/repos/p-org/P/issues/33/events","html_url":"https://github.com/p-org/P/issues/33","id":136848114,"number":33,"title":"Missing P_GEND_TYPE_[TypeName]","user":{"login":"paulthomson","id":5478283,"avatar_url":"https://avatars.githubusercontent.com/u/5478283?v=3","gravatar_id":"","url":"https://api.github.com/users/paulthomson","html_url":"https://github.com/paulthomson","followers_url":"https://api.github.com/users/paulthomson/followers","following_url":"https://api.github.com/users/paulthomson/following{/other_user}","gists_url":"https://api.github.com/users/paulthomson/gists{/gist_id}","starred_url":"https://api.github.com/users/paulthomson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulthomson/subscriptions","organizations_url":"https://api.github.com/users/paulthomson/orgs","repos_url":"https://api.github.com/users/paulthomson/repos","events_url":"https://api.github.com/users/paulthomson/events{/privacy}","received_events_url":"https://api.github.com/users/paulthomson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-26T23:57:36Z","updated_at":"2016-02-27T00:05:43Z","closed_at":null,"body":"I was previously getting definitions like the following in `program.c`:\r\n\r\n```\r\nPRT_TYPE *P_GEND_TYPE_ARTIFACTType = &P_GEND_TYPE_215;\r\n```\r\n\r\nThus I can refer to the types from the C code easily (by name). I then added another foreign type and these have all disappeared. I am trying to create a test case but I can't get these definitions to appear. I can send you files privately or maybe you can tell what the problem is. \r\n"},"comment":{"url":"https://api.github.com/repos/p-org/P/issues/comments/189532193","html_url":"https://github.com/p-org/P/issues/33#issuecomment-189532193","issue_url":"https://api.github.com/repos/p-org/P/issues/33","id":189532193,"user":{"login":"paulthomson","id":5478283,"avatar_url":"https://avatars.githubusercontent.com/u/5478283?v=3","gravatar_id":"","url":"https://api.github.com/users/paulthomson","html_url":"https://github.com/paulthomson","followers_url":"https://api.github.com/users/paulthomson/followers","following_url":"https://api.github.com/users/paulthomson/following{/other_user}","gists_url":"https://api.github.com/users/paulthomson/gists{/gist_id}","starred_url":"https://api.github.com/users/paulthomson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulthomson/subscriptions","organizations_url":"https://api.github.com/users/paulthomson/orgs","repos_url":"https://api.github.com/users/paulthomson/repos","events_url":"https://api.github.com/users/paulthomson/events{/privacy}","received_events_url":"https://api.github.com/users/paulthomson/received_events","type":"User","site_admin":false},"created_at":"2016-02-27T00:05:43Z","updated_at":"2016-02-27T00:05:43Z","body":"Perhaps more importantly: the declarations for the types are still generated in `program.h` so now I can't link! \r\n\r\n```\r\nerror LNK2001: unresolved external symbol P_GEND_TYPE_ARTIFACT_ASSEMBLY_Type\r\n```\r\n"}}