feat: initial commit
This commit is contained in:
commit
c18a85f1cc
7 changed files with 153 additions and 0 deletions
20
include/action_list.h
Normal file
20
include/action_list.h
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
#ifndef ACTION_LIST_H
|
||||
#define ACTION_LIST_H
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include "myers.h"
|
||||
|
||||
typedef struct {
|
||||
Action* actions;
|
||||
uint64_t capacity;
|
||||
uint64_t len;
|
||||
} ActionList;
|
||||
|
||||
ActionList* new_list();
|
||||
void add_action(ActionList*, Action);
|
||||
void append_list(ActionList*, ActionList*);
|
||||
|
||||
#endif // ACTION_LIST_H
|
||||
Loading…
Add table
Add a link
Reference in a new issue