equal
deleted
inserted
replaced
104 |
104 |
105 /** |
105 /** |
106 * Clears the error state of cpixObj. |
106 * Clears the error state of cpixObj. |
107 */ |
107 */ |
108 #define cpix_ClearError(cpixObj) ((cpixObj)->err_ = cpix_Error_destroy((cpixObj)->err_)) |
108 #define cpix_ClearError(cpixObj) ((cpixObj)->err_ = cpix_Error_destroy((cpixObj)->err_)) |
109 |
109 /* |
110 |
110 * Determines to what extent the cpix_hits_docs() is able to fetch available hits |
111 |
111 * Previously a check on cpix_Failed/Suceeded(hits) suffices, but with the batch_get_doc |
|
112 * implementation a request for N results may results in X fetches where (X <= N) To |
|
113 * correctly determine how many actual results are fetched a check on _err is not enough |
|
114 * and _ptr too have to cheked for NULL |
|
115 */ |
|
116 #define doc_Fetch_Succeeded(docObj) ((docObj)->ptr_ != NULL) |
|
117 #define doc_Fetch_Failed(docObj) ((docObj)->ptr_ == NULL) |
|
118 |
112 /** |
119 /** |
113 * Any "static" calls will give the result back via this |
120 * Any "static" calls will give the result back via this |
114 * structure. |
121 * structure. |
115 */ |
122 */ |
116 struct cpix_Result_ |
123 struct cpix_Result_ |