Skip to content

Commit

Permalink
Put structs meant for export in the proper file
Browse files Browse the repository at this point in the history
  • Loading branch information
hausdorff committed Jun 2, 2011
1 parent 8fa0759 commit 7877420
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 21 deletions.
21 changes: 0 additions & 21 deletions src/libdiff/include.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,27 +21,6 @@
#define max(a, b) ( ((a) > (b)) ? (a) : (b) )
#endif

#define END_OF_SCRIPT 0
#define INSERTION 1
#define DELETION 2



struct edit {
struct record *rcrd;
struct edit *next;
unsigned char edit;
size_t x;
size_t y;
size_t k;
};


struct record {
unsigned long start;
unsigned long end;
unsigned long hash;
};


struct diff_env {
Expand Down
21 changes: 21 additions & 0 deletions src/libdiff/libdiff.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@

#include "../common.h"

#define END_OF_SCRIPT 0
#define INSERTION 1
#define DELETION 2



struct diff_mem {
Expand All @@ -17,6 +21,23 @@ struct diff_mem {
};


struct edit {
struct record *rcrd;
struct edit *next;
unsigned char edit;
size_t x;
size_t y;
size_t k;
};


struct record {
unsigned long start;
unsigned long end;
unsigned long hash;
};



int diff(struct diff_mem *diffme1, struct diff_mem *diffme2);

Expand Down

0 comments on commit 7877420

Please sign in to comment.