@@ -85,51 +85,51 @@ static void ejd_rename_wrapped(Dart_Port receive_port, Dart_CObject *msg, Dart_P
85
85
static void ejd_bkp_wrapped (Dart_Port receive_port , Dart_CObject * msg , Dart_Port reply_port );
86
86
87
87
static struct NativeFunctionLookup k_scoped_functions [] = {
88
- { "port" , ejd_port },
89
- { "exec" , ejd_exec },
90
- { "check_exec" , ejd_exec_check },
91
- { "jql_set" , ejd_jql_set },
88
+ { "port" , ejd_port },
89
+ { "exec" , ejd_exec },
90
+ { "check_exec" , ejd_exec_check },
91
+ { "jql_set" , ejd_jql_set },
92
92
{ "jql_get_limit" , ejd_jql_get_limit },
93
- { "create_query" , ejd_create_query },
94
- { "set_handle" , ejd_set_handle },
95
- { "get_handle" , ejd_get_handle },
96
- { "explain_rc" , ejd_explain_rc },
97
- { 0 , 0 }
93
+ { "create_query" , ejd_create_query },
94
+ { "set_handle" , ejd_set_handle },
95
+ { "get_handle" , ejd_get_handle },
96
+ { "explain_rc" , ejd_explain_rc },
97
+ { 0 , 0 }
98
98
};
99
99
100
100
static struct WrapperFunctionLookup k_wrapped_functions [] = {
101
- { "get" , ejd_get_wrapped },
102
- { "put" , ejd_put_wrapped },
103
- { "del" , ejd_del_wrapped },
101
+ { "get" , ejd_get_wrapped },
102
+ { "put" , ejd_put_wrapped },
103
+ { "del" , ejd_del_wrapped },
104
104
{ "rename" , ejd_rename_wrapped },
105
- { "patch" , ejd_patch_wrapped },
106
- { "idx" , ejd_idx_wrapped },
107
- { "rmi" , ejd_rmi_wrapped },
108
- { "rmc" , ejd_rmc_wrapped },
109
- { "info" , ejd_info_wrapped },
110
- { "open" , ejd_open_wrapped },
111
- { "close" , ejd_close_wrapped },
112
- { "bkp" , ejd_bkp_wrapped },
113
- { 0 , 0 }
105
+ { "patch" , ejd_patch_wrapped },
106
+ { "idx" , ejd_idx_wrapped },
107
+ { "rmi" , ejd_rmi_wrapped },
108
+ { "rmc" , ejd_rmc_wrapped },
109
+ { "info" , ejd_info_wrapped },
110
+ { "open" , ejd_open_wrapped },
111
+ { "close" , ejd_close_wrapped },
112
+ { "bkp" , ejd_bkp_wrapped },
113
+ { 0 , 0 }
114
114
};
115
115
116
116
#define EJTH (h_ ) ejd_error_check_propagate(h_)
117
117
118
- #define EJGO (h_ , rh_ , label_ ) \
119
- if (Dart_IsError(h_)) { \
120
- rh_ = (h_); \
121
- goto label_; \
122
- }
118
+ #define EJGO (h_ , rh_ , label_ ) \
119
+ if (Dart_IsError(h_)) { \
120
+ rh_ = (h_); \
121
+ goto label_; \
122
+ }
123
123
124
124
#define EJLIB () EJTH(Dart_LookupLibrary(Dart_NewStringFromCString("package:ejdb2_dart/ejdb2_dart.dart")))
125
125
126
- #define EJPORT_RC (co_ , rc_ ) \
127
- if (rc_) { \
128
- (co_)->type = Dart_CObject_kInt64; \
129
- (co_)->value.as_int64 = (rc_); \
130
- }
126
+ #define EJPORT_RC (co_ , rc_ ) \
127
+ if (rc_) { \
128
+ (co_)->type = Dart_CObject_kInt64; \
129
+ (co_)->value.as_int64 = (rc_); \
130
+ }
131
131
132
- IW_INLINE char * cobject_str (Dart_CObject * co , bool nulls , iwrc * rcp ) {
132
+ IW_INLINE char * cobject_str (Dart_CObject * co , bool nulls , iwrc * rcp ) {
133
133
* rcp = 0 ;
134
134
if (co ) {
135
135
if (co -> type == Dart_CObject_kString ) {
@@ -1452,7 +1452,7 @@ static void ejd_get_wrapped(Dart_Port receive_port, Dart_CObject *msg, Dart_Port
1452
1452
//
1453
1453
///////////////////////////////////////////////////////////////////////////
1454
1454
1455
- static const char * ejd_ecodefn (locale_t locale , uint32_t ecode ) {
1455
+ static const char * ejd_ecodefn (locale_t locale , uint32_t ecode ) {
1456
1456
if (!((ecode > _EJD_ERROR_START ) && (ecode < _EJD_ERROR_END ))) {
1457
1457
return 0 ;
1458
1458
}
0 commit comments