The R Project SVN R-packages

Rev

Rev 7986 | Rev 8508 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 7986 Rev 8301
Line 297... Line 297...
297
  An example native/C callback that just prints the type of the elements "passing" through.
297
  An example native/C callback that just prints the type of the elements "passing" through.
298
 */
298
 */
299
int
299
int
300
R_json_testNativeCallback(void* ctx, int type, const struct JSON_value_struct* value)
300
R_json_testNativeCallback(void* ctx, int type, const struct JSON_value_struct* value)
301
{
301
{
302
    REprintf("%d (ctx = %p, value = %p)\n", type, ctx, value);
302
    REprintf("%d (ctx = %p, value = %p)\n", type, ctx, (void *)value);
303
    return(1);
303
    return(1);
304
}
304
}
305
 
305
 
306
int
306
int
307
R_json_degenerateNativeCallback(void* ctx, int type, const struct JSON_value_struct* value)
307
R_json_degenerateNativeCallback(void* ctx, int type, const struct JSON_value_struct* value)