increased the c-bindings api