diff options
Diffstat (limited to 'cli/internal/ffi/bindings.h')
| -rw-r--r-- | cli/internal/ffi/bindings.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/cli/internal/ffi/bindings.h b/cli/internal/ffi/bindings.h new file mode 100644 index 0000000..c2bbcea --- /dev/null +++ b/cli/internal/ffi/bindings.h @@ -0,0 +1,21 @@ +#include <stdarg.h> +#include <stdbool.h> +#include <stdint.h> +#include <stdlib.h> + +typedef struct Buffer { + uint32_t len; + uint8_t *data; +} Buffer; + +void free_buffer(struct Buffer buffer); + +struct Buffer get_turbo_data_dir(void); + +struct Buffer changed_files(struct Buffer buffer); + +struct Buffer previous_content(struct Buffer buffer); + +struct Buffer npm_transitive_closure(struct Buffer buf); + +struct Buffer npm_subgraph(struct Buffer buf); |
