{"action":"created","issue":{"url":"https://api.github.com/repos/googlevr/gvr-android-sdk/issues/94","repository_url":"https://api.github.com/repos/googlevr/gvr-android-sdk","labels_url":"https://api.github.com/repos/googlevr/gvr-android-sdk/issues/94/labels{/name}","comments_url":"https://api.github.com/repos/googlevr/gvr-android-sdk/issues/94/comments","events_url":"https://api.github.com/repos/googlevr/gvr-android-sdk/issues/94/events","html_url":"https://github.com/googlevr/gvr-android-sdk/issues/94","id":156094412,"number":94,"title":"Separate C and C++ API headers","user":{"login":"astennu","id":5229523,"avatar_url":"https://avatars.githubusercontent.com/u/5229523?v=3","gravatar_id":"","url":"https://api.github.com/users/astennu","html_url":"https://github.com/astennu","followers_url":"https://api.github.com/users/astennu/followers","following_url":"https://api.github.com/users/astennu/following{/other_user}","gists_url":"https://api.github.com/users/astennu/gists{/gist_id}","starred_url":"https://api.github.com/users/astennu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/astennu/subscriptions","organizations_url":"https://api.github.com/users/astennu/orgs","repos_url":"https://api.github.com/users/astennu/repos","events_url":"https://api.github.com/users/astennu/events{/privacy}","received_events_url":"https://api.github.com/users/astennu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-05-21T10:09:18Z","updated_at":"2016-07-07T01:26:32Z","closed_at":null,"body":"I see that you have C and C++ API in same header files and it rely on __cplusplus define to select which one should be used. Could you separate these APIs to individual header files. Reason is that I want to use C API from my C++ code rather C++ API and current implementation forces C++ code to use C++ API always.\r\n\r\nReason why I don't want to use C++ API is that it is using std::unique_ptr, std::function etc. which are causing issues in cross-platform codebase."},"comment":{"url":"https://api.github.com/repos/googlevr/gvr-android-sdk/issues/comments/230954550","html_url":"https://github.com/googlevr/gvr-android-sdk/issues/94#issuecomment-230954550","issue_url":"https://api.github.com/repos/googlevr/gvr-android-sdk/issues/94","id":230954550,"user":{"login":"jdduke","id":479117,"avatar_url":"https://avatars.githubusercontent.com/u/479117?v=3","gravatar_id":"","url":"https://api.github.com/users/jdduke","html_url":"https://github.com/jdduke","followers_url":"https://api.github.com/users/jdduke/followers","following_url":"https://api.github.com/users/jdduke/following{/other_user}","gists_url":"https://api.github.com/users/jdduke/gists{/gist_id}","starred_url":"https://api.github.com/users/jdduke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdduke/subscriptions","organizations_url":"https://api.github.com/users/jdduke/orgs","repos_url":"https://api.github.com/users/jdduke/repos","events_url":"https://api.github.com/users/jdduke/events{/privacy}","received_events_url":"https://api.github.com/users/jdduke/received_events","type":"User","site_admin":false},"created_at":"2016-07-07T01:26:32Z","updated_at":"2016-07-07T01:26:32Z","body":"@astennu, with the latest release (0.8.5), defining GVR_NO_CPP_WRAPPER before including the GVR headers will suppress inclusion of the C++ wrapper code. Hope that helps. Cheers.\r\n\r\n    #define GVR_NO_CPP_WRAPPER\r\n    #include \"gvr.h\""}}
{"actor":{"display_login":"jdduke"}}