54 typedef Rboolean (*R_ToplevelCallback)(
SEXP expr,
SEXP value, Rboolean succeeded, Rboolean visible,
void *);
56 typedef struct _ToplevelCallback R_ToplevelCallbackEl;
60 struct _ToplevelCallback {
61 R_ToplevelCallback cb;
63 void (*finalizer)(
void *
data);
67 R_ToplevelCallbackEl *next;
74 Rboolean Rf_removeTaskCallbackByIndex(
int id);
75 Rboolean Rf_removeTaskCallbackByName(
const char *name);
76 SEXP R_removeTaskCallback(
SEXP which);
77 R_ToplevelCallbackEl* Rf_addTaskCallback(R_ToplevelCallback cb,
void *
data,
void (*finalizer)(
void *),
const char *name,
int *pos);
90 typedef struct _R_ObjectTable R_ObjectTable;
94 typedef Rboolean (*Rdb_exists)(
const char *
const name, Rboolean *canCache, R_ObjectTable *);
95 typedef SEXP (*Rdb_get)(
const char *
const name, Rboolean *canCache, R_ObjectTable *);
96 typedef int (*Rdb_remove)(
const char *
const name, R_ObjectTable *);
97 typedef SEXP (*Rdb_assign)(
const char *
const name,
SEXP value, R_ObjectTable *);
98 typedef SEXP (*Rdb_objects)(R_ObjectTable *);
99 typedef Rboolean (*Rdb_canCache)(
const char *
const name, R_ObjectTable *);
101 typedef void (*Rdb_onDetach)(R_ObjectTable *);
102 typedef void (*Rdb_onAttach)(R_ObjectTable *);
104 struct _R_ObjectTable{
114 Rdb_canCache canCache;
116 Rdb_onDetach onDetach;
117 Rdb_onAttach onAttach;