module with functions from which given prefix should be stripped
prefix that should be stripped from names of functions
a function that creates a handle. Note: constructor must take at least one non-optional argument
function that gets called when struct gets destroyed. Mustn't take any arguments
import etc.c.curl; alias Curl = CWrap!(etc.c.curl, "curl_easy_", (int _) => curl_easy_init(), curl_easy_cleanup); auto c = Curl(0); c.setopt(CurlOption.url, "https://dlang.org"); c.perform();
Struct that provides following things:
1. RAII wrapper above handle type 2. Mechanism that strips prefix from names of functions in given module. Those functions are available through opDispatch-based mechanism.