fix: moved actions to action list
This commit is contained in:
parent
c18a85f1cc
commit
390f2d367a
3 changed files with 11 additions and 16 deletions
|
|
@ -5,7 +5,17 @@
|
|||
#include <string.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include "myers.h"
|
||||
|
||||
typedef enum {
|
||||
INSERT,
|
||||
DELETE
|
||||
} ActionType;
|
||||
|
||||
typedef struct {
|
||||
ActionType type;
|
||||
uint64_t line_original;
|
||||
uint64_t line_changed;
|
||||
} Action;
|
||||
|
||||
typedef struct {
|
||||
Action* actions;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue