|
20 | 20 | #ifndef AG_CYPHER_COPYFUNCS_H |
21 | 21 | #define AG_CYPHER_COPYFUNCS_H |
22 | 22 |
|
23 | | -#include "postgres.h" |
24 | | - |
25 | | -#include "nodes/nodes.h" |
26 | | - |
27 | 23 | /* |
28 | 24 | * Functions that let AGE's ExtensibleNodes be compatible with |
29 | 25 | * Postgres' copyObject. We assign each node to its copy function |
30 | 26 | * in the DEFINE_NODE_METHODS and DEFINE_NODE_METHODS_EXTENDED |
31 | 27 | * macros in ag_nodes.c |
32 | 28 | */ |
33 | 29 |
|
34 | | -void copy_ag_node(ExtensibleNode *newnode, |
35 | | - const ExtensibleNode *oldnode); |
| 30 | +void copy_ag_node(ExtensibleNode *newnode, const ExtensibleNode *oldnode); |
36 | 31 |
|
37 | 32 | // create data structures |
38 | | -void copy_cypher_create_target_nodes(ExtensibleNode *newnode, const ExtensibleNode *from); |
39 | | -void copy_cypher_create_path(ExtensibleNode *newnode, const ExtensibleNode *from); |
40 | | -void copy_cypher_target_node(ExtensibleNode *newnode, const ExtensibleNode *from); |
| 33 | +void copy_cypher_create_target_nodes(ExtensibleNode *newnode, |
| 34 | + const ExtensibleNode *from); |
| 35 | +void copy_cypher_create_path(ExtensibleNode *newnode, |
| 36 | + const ExtensibleNode *from); |
| 37 | +void copy_cypher_target_node(ExtensibleNode *newnode, |
| 38 | + const ExtensibleNode *from); |
41 | 39 |
|
42 | 40 | // set/remove data structures |
43 | | -void copy_cypher_update_information(ExtensibleNode *newnode, const ExtensibleNode *from); |
44 | | -void copy_cypher_update_item(ExtensibleNode *newnode, const ExtensibleNode *from); |
| 41 | +void copy_cypher_update_information(ExtensibleNode *newnode, |
| 42 | + const ExtensibleNode *from); |
| 43 | +void copy_cypher_update_item(ExtensibleNode *newnode, |
| 44 | + const ExtensibleNode *from); |
45 | 45 |
|
46 | 46 | // delete data structures |
47 | | -void copy_cypher_delete_information(ExtensibleNode *newnode, const ExtensibleNode *from); |
48 | | -void copy_cypher_delete_item(ExtensibleNode *newnode, const ExtensibleNode *from); |
| 47 | +void copy_cypher_delete_information(ExtensibleNode *newnode, |
| 48 | + const ExtensibleNode *from); |
| 49 | +void copy_cypher_delete_item(ExtensibleNode *newnode, |
| 50 | + const ExtensibleNode *from); |
49 | 51 |
|
50 | 52 | // merge data structure |
51 | | -void copy_cypher_merge_information(ExtensibleNode *newnode, const ExtensibleNode *from); |
| 53 | +void copy_cypher_merge_information(ExtensibleNode *newnode, |
| 54 | + const ExtensibleNode *from); |
52 | 55 | #endif |
0 commit comments