On Wed, 18 Apr 2001, David Reid wrote: > Remind me again, why aren't we just going to add apr_dso_os_put (or whatever > combination of the bits in the correct order is these days) and the _get > version to use apr_os_dso_t's? That *would* keep us in line with the rest > of the APR API wouldn't it?
since apr_dso_handle_t is an incomplete type, we need to `make' an apr_dso_handle_t: apr_dso_handle_t *dso; status = apr_dso_make(p, &dso, (void *)native_handle); /* will alloc *dso */ i suppose it should be: status = apr_dso_make(p, &dso); apr_os_dso_handle_put(dso, (void *)native_handle); and perhaps: void *os_handle = apr_os_dso_handle_get(dso);
