[BACK]Return to oxprint.h CVS log [TXT][DIR] 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
Branch: MAIN
Changes since 1.4: +13 -8 lines

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");