Changeset View
Changeset View
Standalone View
Standalone View
src/lib/eina/eina_mempool.h
Show First 20 Lines • Show All 202 Lines • ▼ Show 20 Line(s) | |||||
203 | EAPI void eina_mempool_unregister(Eina_Mempool_Backend *be) EINA_ARG_NONNULL(1); | 203 | EAPI void eina_mempool_unregister(Eina_Mempool_Backend *be) EINA_ARG_NONNULL(1); | ||
204 | 204 | | |||
205 | /** | 205 | /** | ||
206 | * @brief Computes the alignment that would be used when allocating a object of size @p size. | 206 | * @brief Computes the alignment that would be used when allocating a object of size @p size. | ||
207 | * | 207 | * | ||
208 | * @param[in] size | 208 | * @param[in] size | ||
209 | * @return The alignment for an allocation of size @p size. | 209 | * @return The alignment for an allocation of size @p size. | ||
210 | */ | 210 | */ | ||
211 | static inline unsigned int eina_mempool_alignof(unsigned int size); | 211 | static unsigned int eina_mempool_alignof(unsigned int size); | ||
212 | 212 | | |||
213 | #include "eina_inline_mempool.x" | 213 | #include "eina_inline_mempool.x" | ||
214 | 214 | | |||
215 | /** | 215 | /** | ||
216 | * @} | 216 | * @} | ||
217 | */ | 217 | */ | ||
218 | 218 | | |||
219 | #endif /* EINA_MEMPOOL_H_ */ | 219 | #endif /* EINA_MEMPOOL_H_ */ |