* ggandiva_binary_literal_node_new: * @value: (array length=size): The value of the binary literal. * @size: The number of bytes of the value. * * Returns: A newly created #GGandivaBinaryLiteralNode. * * Since: 0.12.0 */
| 1072 | * Since: 0.12.0 |
| 1073 | */ |
| 1074 | GGandivaBinaryLiteralNode * |
| 1075 | ggandiva_binary_literal_node_new(const guint8 *value, gsize size) |
| 1076 | { |
| 1077 | auto gandiva_node = gandiva::TreeExprBuilder::MakeBinaryLiteral( |
| 1078 | std::string(reinterpret_cast<const char *>(value), size)); |
| 1079 | return GGANDIVA_BINARY_LITERAL_NODE(ggandiva_literal_node_new_raw(&gandiva_node, NULL)); |
| 1080 | } |
| 1081 | |
| 1082 | /** |
| 1083 | * ggandiva_binary_literal_node_new_bytes: |
nothing calls this directly
no test coverage detected