Added modb_use to R and the c handler + moved the connection referencing to a helpers file

This commit is contained in:
2020-10-05 17:30:27 +01:00
parent cbbda5378f
commit ca594a2c0b
5 changed files with 83 additions and 36 deletions

9
src/R_helpers_p.h Normal file
View File

@@ -0,0 +1,9 @@
#ifndef H__R_HELPERS_P__
#define H__R_HELPERS_P__
#include <Rinternals.h>
#include "database.h"
struct stored_conn_t *getConnectionByRef(SEXP r_conn_ref);
#endif // H__R_HELPERS_P__