! * \brief lqueueGetCount() * * \param[in] lq lqueue * \return count, or 0 on error */
| 280 | * \return count, or 0 on error |
| 281 | */ |
| 282 | l_int32 |
| 283 | lqueueGetCount(L_QUEUE *lq) |
| 284 | { |
| 285 | PROCNAME("lqueueGetCount"); |
| 286 | |
| 287 | if (!lq) |
| 288 | return ERROR_INT("lq not defined", procName, 0); |
| 289 | |
| 290 | return lq->nelem; |
| 291 | } |
| 292 | |
| 293 | |
| 294 | /*---------------------------------------------------------------------* |
no outgoing calls
no test coverage detected