[exdoc] Handle punctuation better in code formatting.
[mono.git] / mono / utils / memfuncs.c
index e85758bde24425bba43f736eceb866d1be225d75..fc1f2c9e5d2b5ae1496bc370e50d934efeeb42e0 100644 (file)
 
 /**
  * mono_gc_bzero_aligned:
- * @dest: address to start to clear
- * @size: size of the region to clear
+ * \param dest address to start to clear
+ * \param size size of the region to clear
  *
- * Zero @size bytes starting at @dest.
- * The address of @dest MUST be aligned to word boundaries
+ * Zero \p size bytes starting at \p dest.
+ * The address of \p dest MUST be aligned to word boundaries
  *
  * FIXME borrow faster code from some BSD libc or bionic
  */
@@ -100,12 +100,12 @@ mono_gc_bzero_aligned (void *dest, size_t size)
 
 /**
  * mono_gc_bzero_atomic:
- * @dest: address to start to clear
- * @size: size of the region to clear
+ * \param dest address to start to clear
+ * \param size size of the region to clear
  *
- * Zero @size bytes starting at @dest.
+ * Zero \p size bytes starting at \p dest.
  *
- * Use this to zero memory without word tearing when dest is aligned.
+ * Use this to zero memory without word tearing when \p dest is aligned.
  */
 void
 mono_gc_bzero_atomic (void *dest, size_t size)
@@ -137,14 +137,15 @@ mono_gc_bzero_atomic (void *dest, size_t size)
 
 /**
  * mono_gc_memmove_aligned:
- * @dest: destination of the move
- * @src: source
- * @size: size of the block to move
+ * \param dest destination of the move
+ * \param src source
+ * \param size size of the block to move
  *
- * Move @size bytes from @src to @dest.
+ * Move \p size bytes from \p src to \p dest.
  *
  * Use this to copy memory without word tearing when both pointers are aligned
- */void
+ */
+void
 mono_gc_memmove_aligned (void *dest, const void *src, size_t size)
 {
        g_assert (unaligned_bytes (dest) == 0);
@@ -204,11 +205,11 @@ mono_gc_memmove_aligned (void *dest, const void *src, size_t size)
 
 /**
  * mono_gc_memmove_atomic:
- * @dest: destination of the move
- * @src: source
- * @size: size of the block to move
+ * \param dest destination of the move
+ * \param src source
+ * \param size size of the block to move
  *
- * Move @size bytes from @src to @dest.
+ * Move \p size bytes from \p src to \p dest.
  *
  * Use this to copy memory without word tearing when both pointers are aligned
  */