{"action":"created","issue":{"url":"https://api.github.com/repos/manastech/crystal/issues/521","labels_url":"https://api.github.com/repos/manastech/crystal/issues/521/labels{/name}","comments_url":"https://api.github.com/repos/manastech/crystal/issues/521/comments","events_url":"https://api.github.com/repos/manastech/crystal/issues/521/events","html_url":"https://github.com/manastech/crystal/issues/521","id":66854250,"number":521,"title":"Custom functions in lib declaration?","user":{"login":"ic5y","id":4921742,"avatar_url":"https://avatars.githubusercontent.com/u/4921742?v=3","gravatar_id":"","url":"https://api.github.com/users/ic5y","html_url":"https://github.com/ic5y","followers_url":"https://api.github.com/users/ic5y/followers","following_url":"https://api.github.com/users/ic5y/following{/other_user}","gists_url":"https://api.github.com/users/ic5y/gists{/gist_id}","starred_url":"https://api.github.com/users/ic5y/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ic5y/subscriptions","organizations_url":"https://api.github.com/users/ic5y/orgs","repos_url":"https://api.github.com/users/ic5y/repos","events_url":"https://api.github.com/users/ic5y/events{/privacy}","received_events_url":"https://api.github.com/users/ic5y/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/manastech/crystal/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-04-07T11:00:46Z","updated_at":"2015-04-07T18:08:40Z","closed_at":null,"body":"Is there any way to declare custom functions in a lib declaration?\r\nlike: \r\n```\r\nlib LibA\r\n    # linking to C functions\r\n    ...\r\n    \r\n    def customFun() : Int32\r\n        # something\r\n    end\r\nend\r\n```"},"comment":{"url":"https://api.github.com/repos/manastech/crystal/issues/comments/90682403","html_url":"https://github.com/manastech/crystal/issues/521#issuecomment-90682403","issue_url":"https://api.github.com/repos/manastech/crystal/issues/521","id":90682403,"user":{"login":"ic5y","id":4921742,"avatar_url":"https://avatars.githubusercontent.com/u/4921742?v=3","gravatar_id":"","url":"https://api.github.com/users/ic5y","html_url":"https://github.com/ic5y","followers_url":"https://api.github.com/users/ic5y/followers","following_url":"https://api.github.com/users/ic5y/following{/other_user}","gists_url":"https://api.github.com/users/ic5y/gists{/gist_id}","starred_url":"https://api.github.com/users/ic5y/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ic5y/subscriptions","organizations_url":"https://api.github.com/users/ic5y/orgs","repos_url":"https://api.github.com/users/ic5y/repos","events_url":"https://api.github.com/users/ic5y/events{/privacy}","received_events_url":"https://api.github.com/users/ic5y/received_events","type":"User","site_admin":false},"created_at":"2015-04-07T18:08:40Z","updated_at":"2015-04-07T18:08:40Z","body":"Thanks, with \"aliasing\" I could fix my problem"}}