Skip to content

Commit

Permalink
refactor: rename code.h to codepoints.h
Browse files Browse the repository at this point in the history
  • Loading branch information
tonytonyjan committed Sep 30, 2017
1 parent fe72ab4 commit 106da9c
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ext/jaro_winkler/adj_matrix.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#include "adj_matrix.h"
#include "code.h"
#include "codepoints.h"
#include "ruby.h"

const char *DEFAULT_ADJ_TABLE[] = {
Expand Down
2 changes: 1 addition & 1 deletion ext/jaro_winkler/code.c → ext/jaro_winkler/codepoints.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include <string.h>
#include "ruby.h"
#include "ruby/encoding.h"
#include "code.h"
#include "codepoints.h"

void codepoints_init(CodePoints *codepoints, VALUE str){
int32_t n;
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion ext/jaro_winkler/jaro.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#include "jaro.h"
#include "code.h"
#include "codepoints.h"
#include "adj_matrix.h"

#include <string.h>
Expand Down
2 changes: 1 addition & 1 deletion ext/jaro_winkler/jaro_winkler.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include "ruby.h"
#include "jaro.h"
#include "code.h"
#include "codepoints.h"

VALUE rb_mJaroWinkler,
rb_eError,
Expand Down

0 comments on commit 106da9c

Please sign in to comment.