Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
tianlh
LightGBM-DCU
Commits
d29f2c2a
Unverified
Commit
d29f2c2a
authored
May 02, 2021
by
James Lamb
Committed by
GitHub
May 02, 2021
Browse files
[R-package] move Rinternals.h closer to where it is used (#4248)
parent
66ee2919
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
R-package/src/R_object_helper.h
R-package/src/R_object_helper.h
+0
-4
R-package/src/lightgbm_R.h
R-package/src/lightgbm_R.h
+5
-0
No files found.
R-package/src/R_object_helper.h
View file @
d29f2c2a
...
@@ -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
;
...
...
R-package/src/lightgbm_R.h
View file @
d29f2c2a
...
@@ -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"
/*!
/*!
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment