payload: {"action":"created","issue":{"url":"https://api.github.com/repos/floooh/sokol/issues/91","repository_url":"https://api.github.com/repos/floooh/sokol","labels_url":"https://api.github.com/repos/floooh/sokol/issues/91/labels{/name}","comments_url":"https://api.github.com/repos/floooh/sokol/issues/91/comments","events_url":"https://api.github.com/repos/floooh/sokol/issues/91/events","html_url":"https://github.com/floooh/sokol/issues/91","id":381890551,"node_id":"MDU6SXNzdWUzODE4OTA1NTE=","number":91,"title":"sokol_gfx.h: remove internal static variables","user":{"login":"mysterycoconut","id":5251632,"node_id":"MDQ6VXNlcjUyNTE2MzI=","avatar_url":"https://avatars1.githubusercontent.com/u/5251632?v=4","gravatar_id":"","url":"https://api.github.com/users/mysterycoconut","html_url":"https://github.com/mysterycoconut","followers_url":"https://api.github.com/users/mysterycoconut/followers","following_url":"https://api.github.com/users/mysterycoconut/following{/other_user}","gists_url":"https://api.github.com/users/mysterycoconut/gists{/gist_id}","starred_url":"https://api.github.com/users/mysterycoconut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mysterycoconut/subscriptions","organizations_url":"https://api.github.com/users/mysterycoconut/orgs","repos_url":"https://api.github.com/users/mysterycoconut/repos","events_url":"https://api.github.com/users/mysterycoconut/events{/privacy}","received_events_url":"https://api.github.com/users/mysterycoconut/received_events","type":"User","site_admin":false},"labels":[{"id":646888282,"node_id":"MDU6TGFiZWw2NDY4ODgyODI=","url":"https://api.github.com/repos/floooh/sokol/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-11-17T18:59:00Z","updated_at":"2019-04-19T09:32:11Z","closed_at":null,"author_association":"NONE","body":"There are a number of static globals in sokol_gfx that make it difficult to use with reentrant functions, and thread safe code. Could these be supplied to the library as parameters instead? \r\n\r\nA particular case where this is a problem for me is when using the library as part of a dll that is reloaded at runtime (like this: https://nullprogram.com/blog/2014/12/23/)."},"comment":{"url":"https://api.github.com/repos/floooh/sokol/issues/comments/484827324","html_url":"https://github.com/floooh/sokol/issues/91#issuecomment-484827324","issue_url":"https://api.github.com/repos/floooh/sokol/issues/91","id":484827324,"node_id":"MDEyOklzc3VlQ29tbWVudDQ4NDgyNzMyNA==","user":{"login":"floooh","id":1699414,"node_id":"MDQ6VXNlcjE2OTk0MTQ=","avatar_url":"https://avatars2.githubusercontent.com/u/1699414?v=4","gravatar_id":"","url":"https://api.github.com/users/floooh","html_url":"https://github.com/floooh","followers_url":"https://api.github.com/users/floooh/followers","following_url":"https://api.github.com/users/floooh/following{/other_user}","gists_url":"https://api.github.com/users/floooh/gists{/gist_id}","starred_url":"https://api.github.com/users/floooh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/floooh/subscriptions","organizations_url":"https://api.github.com/users/floooh/orgs","repos_url":"https://api.github.com/users/floooh/repos","events_url":"https://api.github.com/users/floooh/events{/privacy}","received_events_url":"https://api.github.com/users/floooh/received_events","type":"User","site_admin":false},"created_at":"2019-04-19T09:32:11Z","updated_at":"2019-04-19T09:32:11Z","author_association":"OWNER","body":"PS: Basically I want to specifically avoid to having to carry around a context-pointer on the user side, and provide that as argument for every function call. Even when the data doesn't live in a static global anymore, the pointer to this data should only be provided once (so there still would need to be at least a global static *pointer* somewhere)."}}
other: {"actor":{"display_login":"floooh"}}