Skip to content
Snippets Groups Projects
Commit 5db193ef authored by Adam Welc's avatar Adam Welc
Browse files

Added a new opaque type to represent contexts.

parent 70a2a1eb
Branches
No related tags found
No related merge requests found
...@@ -59,7 +59,7 @@ SEXP FASTR_NamespaceRegistry() { ...@@ -59,7 +59,7 @@ SEXP FASTR_NamespaceRegistry() {
return (*env)->CallStaticObjectMethod(env, CallRFFIHelperClass, getNamespaceRegistryMethodID); return (*env)->CallStaticObjectMethod(env, CallRFFIHelperClass, getNamespaceRegistryMethodID);
} }
SEXP FASTR_GlobalContext() { CTXT FASTR_GlobalContext() {
JNIEnv *env = getEnv(); JNIEnv *env = getEnv();
return (*env)->CallStaticObjectMethod(env, CallRFFIHelperClass, getGlobalContextMethodID); return (*env)->CallStaticObjectMethod(env, CallRFFIHelperClass, getGlobalContextMethodID);
} }
......
...@@ -12,6 +12,7 @@ a ...@@ -12,6 +12,7 @@ a
i i
#ifdef FASTR #ifdef FASTR
typedef void *SEXP; typedef void *SEXP;
typedef void *CTXT;
#else #else
. .
+1 +1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment