Unverified Commit d29f2c2a authored by James Lamb's avatar James Lamb Committed by GitHub
Browse files

[R-package] move Rinternals.h closer to where it is used (#4248)

parent 66ee2919
...@@ -15,10 +15,6 @@ ...@@ -15,10 +15,6 @@
#include <cstdint> #include <cstdint>
#define R_NO_REMAP
#define R_USE_C99_IN_CXX
#include <Rinternals.h>
#define NAMED_BITS 16 #define NAMED_BITS 16
struct lgbm_sxpinfo { struct lgbm_sxpinfo {
unsigned int type : 5; unsigned int type : 5;
......
...@@ -6,6 +6,11 @@ ...@@ -6,6 +6,11 @@
#define LIGHTGBM_R_H_ #define LIGHTGBM_R_H_
#include <LightGBM/c_api.h> #include <LightGBM/c_api.h>
#define R_NO_REMAP
#define R_USE_C99_IN_CXX
#include <Rinternals.h>
#include "R_object_helper.h" #include "R_object_helper.h"
/*! /*!
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment