Skip to content

Commit

Permalink
server.c: expose __FILE__ to Go bindings.
Browse files Browse the repository at this point in the history
  • Loading branch information
dot-asm committed Jul 7, 2024
1 parent bcdedbf commit 1ff7a25
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/server.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,6 @@
#ifndef __BLST_NO_CPUID__
# include "cpuid.c"
#endif
#ifdef __BLST_CGO__
const char *go_blst_src_server_c() { return __FILE__; }
#endif

0 comments on commit 1ff7a25

Please sign in to comment.