Skip to content

Commit

Permalink
Merge pull request #90 from ldorau/Make_alignment_of_umfMemoryProvide…
Browse files Browse the repository at this point in the history
…rAlloc_more_specific

Make alignment of umfMemoryProviderAlloc() more specific
  • Loading branch information
bratpiorka authored Dec 21, 2023
2 parents e7a709b + bb522d8 commit 0d85f36
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/umf/memory_provider.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ void umfMemoryProviderDestroy(umf_memory_provider_handle_t hProvider);
/// with the specified \p alignment
/// @param hProvider handle to the memory provider
/// @param size number of bytes to allocate
/// @param alignment alignment of the allocation in bytes
/// @param alignment alignment of the allocation in bytes, it has to be a multiple or a divider of the minimum page size
/// @param ptr [out] pointer to the allocated memory
/// @return UMF_RESULT_SUCCESS on success or appropriate error code on failure
///
Expand Down
2 changes: 1 addition & 1 deletion include/umf/memory_provider_ops.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ typedef struct umf_memory_provider_ops_t {
/// with the specified \p alignment
/// @param provider pointer to the memory provider
/// @param size number of bytes to allocate
/// @param alignment alignment of the allocation in bytes
/// @param alignment alignment of the allocation in bytes, it has to be a multiple or a divider of the minimum page size
/// @param ptr [out] pointer to the allocated memory
/// @return UMF_RESULT_SUCCESS on success or appropriate error code on failure
///
Expand Down

0 comments on commit 0d85f36

Please sign in to comment.