Skip to content

Instantly share code, notes, and snippets.

@juliangruber
Created September 24, 2013 08:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save juliangruber/6682110 to your computer and use it in GitHub Desktop.
Save juliangruber/6682110 to your computer and use it in GitHub Desktop.
c transform idea
void 34kt4j(http_request *req, http_response *res) {
// ...
}
http_create_server(34kt4j);
http_create_server(void(http_request *req, http_response *res) {
// ...
});
// or
http_create_server(void function(http_request *req, http_response *res) {
// ...
});
// or
http_create_server(void onRequest(http_request *req, http_response *res) {
// ...
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment