Skip to content

Commit

Permalink
Add symbol registration
Browse files Browse the repository at this point in the history
  • Loading branch information
jeroen committed Mar 18, 2017
1 parent da986a7 commit 4c2d9a8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions NEWS
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
1.3
- Extract autobrew script to separate repo
- Add symbol registration

1.2
- Improve configure script to check for the correct version of libv8
Expand Down
7 changes: 7 additions & 0 deletions src/register.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#include <Rinternals.h>
#include <R_ext/Rdynload.h>

void R_init_v8(DllInfo* info) {
R_registerRoutines(info, NULL, NULL, NULL, NULL);
R_useDynamicSymbols(info, TRUE);
}

0 comments on commit 4c2d9a8

Please sign in to comment.