| Line 37... |
Line 37... |
| 37 |
#include <Rinternals.h>
|
37 |
#include <Rinternals.h>
|
| 38 |
/**
|
38 |
/**
|
| 39 |
The signature of the C routine that a callback must implement.
|
39 |
The signature of the C routine that a callback must implement.
|
| 40 |
expr - the expression for the top-level task that was evaluated.
|
40 |
expr - the expression for the top-level task that was evaluated.
|
| 41 |
value - the result of the top-level task, i.e. evaluating expr.
|
41 |
value - the result of the top-level task, i.e. evaluating expr.
|
| 42 |
succeeded - a logical value indicating whether the task completed propertly.
|
42 |
succeeded - a logical value indicating whether the task completed properly.
|
| 43 |
visible - a logical value indicating whether the result was printed to the R ``console''/stdout.
|
43 |
visible - a logical value indicating whether the result was printed to the R ``console''/stdout.
|
| 44 |
data - user-level data passed to the registration routine.
|
44 |
data - user-level data passed to the registration routine.
|
| 45 |
*/
|
45 |
*/
|
| 46 |
typedef Rboolean (*R_ToplevelCallback)(SEXP expr, SEXP value, Rboolean succeeded, Rboolean visible, void *);
|
46 |
typedef Rboolean (*R_ToplevelCallback)(SEXP expr, SEXP value, Rboolean succeeded, Rboolean visible, void *);
|
| 47 |
|
47 |
|