Return to oxprint.h CVS log | Up to [local] / OpenXM / src / hgm / oxprint |
File: [local] / OpenXM / src / hgm / oxprint / oxprint.h (download)
Revision 1.5, Sat Apr 1 12:01:25 2017 UTC (7 years, 2 months ago) by takayama
R_init_hgm is added for R_registerRoutines and R_useDynamicSymbols. |
#include <R.h> #include <R_ext/Utils.h> #include <R_ext/Print.h> #include <Rinternals.h> #include <R_ext/Rdynload.h> #define oxprintf(...) Rprintf(__VA_ARGS__) #define oxprintfe(...) REprintf(__VA_ARGS__) #define oxflush() #define oxabort() error("Fatal error in the shared lib hgm.\n") #define oxstdout NULL #define oxstdin NULL #define oxexit(a) error("Fatal error in the shared lib hgm.\n"); #define oxexit0(a) error("Fatal error in the shared lib hgm.\n");