Skip to content

Commit

Permalink
bindings/go: deduplicate cgo files.
Browse files Browse the repository at this point in the history
Fixes #171.
  • Loading branch information
dot-asm committed Jul 9, 2023
1 parent 121ad65 commit 4967efe
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 141 deletions.
116 changes: 0 additions & 116 deletions bindings/go/assembly.S

This file was deleted.

1 change: 1 addition & 0 deletions bindings/go/cgo_assembly.S
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#include "assembly.S"
1 change: 1 addition & 0 deletions bindings/go/cgo_server.c
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#include "server.c"
24 changes: 0 additions & 24 deletions bindings/go/server.c

This file was deleted.

4 changes: 3 additions & 1 deletion src/server.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@
#include "consts.c"
#include "vect.c"
#include "exports.c"
#include "rb_tree.c"
#ifndef __BLST_CGO__
# include "rb_tree.c"
#endif
#ifdef BLST_FR_PENTAROOT
# include "pentaroot.c"
#endif
Expand Down

0 comments on commit 4967efe

Please sign in to comment.