! * \brief lstackGetCount() * * \param[in] lstack * \return count, or 0 on error */
| 244 | * \return count, or 0 on error |
| 245 | */ |
| 246 | l_int32 |
| 247 | lstackGetCount(L_STACK *lstack) |
| 248 | { |
| 249 | PROCNAME("lstackGetCount"); |
| 250 | |
| 251 | if (!lstack) |
| 252 | return ERROR_INT("lstack not defined", procName, 1); |
| 253 | |
| 254 | return lstack->n; |
| 255 | } |
| 256 | |
| 257 | |
| 258 |
no outgoing calls
no test coverage detected