{"action":"created","issue":{"url":"https://api.github.com/repos/arrayfire/arrayfire_rust/issues/4","labels_url":"https://api.github.com/repos/arrayfire/arrayfire_rust/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/arrayfire/arrayfire_rust/issues/4/comments","events_url":"https://api.github.com/repos/arrayfire/arrayfire_rust/issues/4/events","html_url":"https://github.com/arrayfire/arrayfire_rust/issues/4","id":85965715,"number":4,"title":"Wrap C API","user":{"login":"jramapuram","id":8204807,"avatar_url":"https://avatars.githubusercontent.com/u/8204807?v=3","gravatar_id":"","url":"https://api.github.com/users/jramapuram","html_url":"https://github.com/jramapuram","followers_url":"https://api.github.com/users/jramapuram/followers","following_url":"https://api.github.com/users/jramapuram/following{/other_user}","gists_url":"https://api.github.com/users/jramapuram/gists{/gist_id}","starred_url":"https://api.github.com/users/jramapuram/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jramapuram/subscriptions","organizations_url":"https://api.github.com/users/jramapuram/orgs","repos_url":"https://api.github.com/users/jramapuram/repos","events_url":"https://api.github.com/users/jramapuram/events{/privacy}","received_events_url":"https://api.github.com/users/jramapuram/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-07T23:55:58Z","updated_at":"2015-07-07T15:40:18Z","closed_at":"2015-07-06T22:40:26Z","body":"currently calls are made along the lines of:\r\n\r\n```rust\r\n\tunsafe {\r\n          let A: *mut arrayfire::af_array = &mut NULL as *mut _ as *mut arrayfire::af_array;\r\n          let dims: [arrayfire::dim_t; 2] = [5,3];\r\n          arrayfire::af_randu(A, 2, &dims[0], arrayfire::f32);\r\n      }\r\n```\r\n\r\nIf we can clean this up with a nice 'Rusty' type object that would be helpful."},"comment":{"url":"https://api.github.com/repos/arrayfire/arrayfire_rust/issues/comments/119242453","html_url":"https://github.com/arrayfire/arrayfire_rust/issues/4#issuecomment-119242453","issue_url":"https://api.github.com/repos/arrayfire/arrayfire_rust/issues/4","id":119242453,"user":{"login":"jramapuram","id":8204807,"avatar_url":"https://avatars.githubusercontent.com/u/8204807?v=3","gravatar_id":"","url":"https://api.github.com/users/jramapuram","html_url":"https://github.com/jramapuram","followers_url":"https://api.github.com/users/jramapuram/followers","following_url":"https://api.github.com/users/jramapuram/following{/other_user}","gists_url":"https://api.github.com/users/jramapuram/gists{/gist_id}","starred_url":"https://api.github.com/users/jramapuram/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jramapuram/subscriptions","organizations_url":"https://api.github.com/users/jramapuram/orgs","repos_url":"https://api.github.com/users/jramapuram/repos","events_url":"https://api.github.com/users/jramapuram/events{/privacy}","received_events_url":"https://api.github.com/users/jramapuram/received_events","type":"User","site_admin":false},"created_at":"2015-07-07T15:40:18Z","updated_at":"2015-07-07T15:40:18Z","body":"Btw, are there any missing operands that still need to be implemented? I.e. all arrayfire C is now in Rust?"}}