fix: moved actions to action list

This commit is contained in:
lisk77 2025-08-16 01:02:06 +02:00
parent c18a85f1cc
commit 390f2d367a
3 changed files with 11 additions and 16 deletions

View file

@ -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;

View file

@ -1,19 +1,5 @@
#ifndef MYERS_H
#define MYERS_H
#include <stdint.h>
typedef enum {
INSERT,
DELETE
} ActionType;
typedef struct {
ActionType type;
uint64_t line_original;
uint64_t line_changed;
} Action;
#endif // MYERS_H

View file

@ -1,4 +1,3 @@
#include "myers.h"
#include "action_list.h"
int main() {