Skip to content

Commit

Permalink
more cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
jameslamb committed Mar 13, 2020
1 parent 7af7ef6 commit 5968c74
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
6 changes: 0 additions & 6 deletions include/LightGBM/R_object_helper.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,6 @@

#include <cstdint>

#ifdef LGB_R_BUILD
#define R_NO_REMAP
#define R_USE_C99_IN_CXX
#include <Rinternals.h>
#endif

#define TYPE_BITS 5
// use .Internal(internalsID()) to uuid
#define R_INTERNALS_UUID "2fdf6c18-697a-4ba7-b8ef-11c0d92f1327"
Expand Down
4 changes: 0 additions & 4 deletions include/LightGBM/lightgbm_R.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@
#include <LightGBM/c_api.h>
#include <LightGBM/R_object_helper.h>

#define R_NO_REMAP
#define R_USE_C99_IN_CXX
#include <Rinternals.h>

/*!
* \brief get string message of the last error
* all functions in this file will return 0 on success
Expand Down

0 comments on commit 5968c74

Please sign in to comment.