Go to the source code of this file.
◆ TYPED_DATA_GETTER
#define TYPED_DATA_GETTER |
( |
|
getter, |
|
|
|
object, |
|
|
|
ctor |
|
) |
| |
Value:
GET_NON_NULL_NATIVE_ARGUMENT(TypedDataBase, array, \
arguments->NativeArgAt(0)); \
GET_NON_NULL_NATIVE_ARGUMENT(Smi, offsetInBytes, \
arguments->NativeArgAt(1)); \
return object::ctor(array.getter(offsetInBytes.Value())); \
}
#define DEFINE_NATIVE_ENTRY(name, type_argument_count, argument_count)
Definition at line 114 of file typed_data.cc.
◆ TYPED_DATA_NATIVES
#define TYPED_DATA_NATIVES |
( |
|
type_name, |
|
|
|
object, |
|
|
|
ctor, |
|
|
|
get_object_value, |
|
|
|
access_type |
|
) |
| |
Value:
TYPED_DATA_SETTER(Set##type_name, object, get_object_value, access_type)
const GrXPFactory * Get(SkBlendMode mode)
#define TYPED_DATA_GETTER(getter, object, ctor)
Definition at line 135 of file typed_data.cc.
◆ TYPED_DATA_SETTER
#define TYPED_DATA_SETTER |
( |
|
setter, |
|
|
|
object, |
|
|
|
get_object_value, |
|
|
|
access_type |
|
) |
| |
Value:
GET_NON_NULL_NATIVE_ARGUMENT(TypedDataBase, array, \
arguments->NativeArgAt(0)); \
GET_NON_NULL_NATIVE_ARGUMENT(Smi, offsetInBytes, \
arguments->NativeArgAt(1)); \
GET_NON_NULL_NATIVE_ARGUMENT(
object,
value, arguments->NativeArgAt(2)); \
array.setter(offsetInBytes.Value(), \
static_cast<access_type
>(
value.get_object_value())); \
return Object::null(); \
}
Definition at line 123 of file typed_data.cc.