diff options
| author | 2023-04-28 01:36:44 +0800 | |
|---|---|---|
| committer | 2023-04-28 01:36:44 +0800 | |
| commit | dd84b9d64fb98746a230cd24233ff50a562c39c9 (patch) | |
| tree | b583261ef00b3afe72ec4d6dacb31e57779a6faf /cli/internal/ffi/bindings.h | |
| parent | 0b46fcd72ac34382387b2bcf9095233efbcc52f4 (diff) | |
| download | HydroRoll-dd84b9d64fb98746a230cd24233ff50a562c39c9.tar.gz HydroRoll-dd84b9d64fb98746a230cd24233ff50a562c39c9.zip | |
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); |
