{"action":"opened","issue":{"url":"https://api.github.com/repos/thelink2012/modloader/issues/35","labels_url":"https://api.github.com/repos/thelink2012/modloader/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/thelink2012/modloader/issues/35/comments","events_url":"https://api.github.com/repos/thelink2012/modloader/issues/35/events","html_url":"https://github.com/thelink2012/modloader/issues/35","id":94571408,"number":35,"title":"Opaque C interface","user":{"login":"thelink2012","id":5925581,"avatar_url":"https://avatars.githubusercontent.com/u/5925581?v=3","gravatar_id":"","url":"https://api.github.com/users/thelink2012","html_url":"https://github.com/thelink2012","followers_url":"https://api.github.com/users/thelink2012/followers","following_url":"https://api.github.com/users/thelink2012/following{/other_user}","gists_url":"https://api.github.com/users/thelink2012/gists{/gist_id}","starred_url":"https://api.github.com/users/thelink2012/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thelink2012/subscriptions","organizations_url":"https://api.github.com/users/thelink2012/orgs","repos_url":"https://api.github.com/users/thelink2012/repos","events_url":"https://api.github.com/users/thelink2012/events{/privacy}","received_events_url":"https://api.github.com/users/thelink2012/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/thelink2012/modloader/labels/change","name":"change","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-12T15:03:52Z","updated_at":"2015-07-12T15:03:52Z","closed_at":null,"body":"Problems with the current interface (`modloader.h`):\r\n * Exported structures aren't opaque, adding or removing fields are a pain for backward compatibility.\r\n * Kinda unportable among languages, a opaque interface would be much better for this.\r\n\r\nThis was built this way because we were under GPL and wanted to avoid infecting other binaries at linking.\r\n\r\nSo, we need a interface based on C functions and opaque structures instead.\r\n"}}