Revision bf7e799c libavutil/mem.h

View differences:

libavutil/mem.h
41 41
#endif
42 42

  
43 43
/**
44
 * Allocates a block of \p size bytes with alignment suitable for all
44
 * Allocates a block of size bytes with alignment suitable for all
45 45
 * memory accesses (including vectors if available on the CPU).
46 46
 * @param size Size in bytes for the memory block to be allocated.
47 47
 * @return Pointer to the allocated block, NULL if the block cannot
......
52 52

  
53 53
/**
54 54
 * Allocates or reallocates a block of memory.
55
 * If \p ptr is NULL and \p size > 0, allocates a new block. If \p
56
 * size is zero, frees the memory block pointed to by \p ptr.
55
 * If ptr is NULL and size > 0, allocates a new block. If \p
56
 * size is zero, frees the memory block pointed to by ptr.
57 57
 * @param size Size in bytes for the memory block to be allocated or
58 58
 * reallocated.
59 59
 * @param ptr Pointer to a memory block already allocated with
......
75 75
void av_free(void *ptr);
76 76

  
77 77
/**
78
 * Allocates a block of \p size bytes with alignment suitable for all
78
 * Allocates a block of size bytes with alignment suitable for all
79 79
 * memory accesses (including vectors if available on the CPU) and
80 80
 * zeroes all the bytes of the block.
81 81
 * @param size Size in bytes for the memory block to be allocated.
......
85 85
void *av_mallocz(unsigned int size) av_malloc_attrib av_alloc_size(1);
86 86

  
87 87
/**
88
 * Duplicates the string \p s.
88
 * Duplicates the string s.
89 89
 * @param s string to be duplicated
90 90
 * @return Pointer to a newly allocated string containing a
91
 * copy of \p s or NULL if the string cannot be allocated.
91
 * copy of s or NULL if the string cannot be allocated.
92 92
 */
93 93
char *av_strdup(const char *s) av_malloc_attrib;
94 94

  

Also available in: Unified diff