#include <oskit/com/libcenv.h>oskit_error_t oskit_libcenv_clone(oskit_libcenv_t *c, oskit_libcenv_t **out_intf);
Make a copy of the oskit_libcenv object in c. All of the reference counts on the internal objects are adjusted, and a new oskit_libcenv object is returned in out_intf. The new object may then modified without affecting the original object.
- c
- The oskit_libcenv object to operate on.
- out_intf
- The new oskit_libcenv object to return.
Returns 0 on success, or an error code specified in <oskit/error.h>, on error.