forked from r-lib/vctrs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathptype2-dispatch.h
30 lines (23 loc) · 1.09 KB
/
ptype2-dispatch.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#ifndef VCTRS_PTYPE2_DISPATCH_H
#define VCTRS_PTYPE2_DISPATCH_H
#include "vctrs-core.h"
#include "ptype2.h"
r_obj* vec_ptype2_dispatch_native(const struct ptype2_opts* opts,
enum vctrs_type x_type,
enum vctrs_type y_type,
int* left);
r_obj* vec_ptype2_dispatch_s3(const struct ptype2_opts* opts);
r_obj* vec_invoke_coerce_method(r_obj* method_sym, r_obj* method,
r_obj* x_sym, r_obj* x,
r_obj* y_sym, r_obj* y,
r_obj* x_arg_sym, r_obj* x_arg,
r_obj* y_arg_sym, r_obj* y_arg,
struct r_lazy call,
const struct fallback_opts* opts);
r_obj* vec_ptype2_default(r_obj* x,
r_obj* y,
struct vctrs_arg* x_arg,
struct vctrs_arg* y_arg,
struct r_lazy call,
const struct fallback_opts* p_opts);
#endif