diff options
author | Lennart Poettering <lennart@poettering.net> | 2007-08-30 22:41:33 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2007-08-30 22:41:33 +0000 |
commit | c2e4328c53ee32f0a49c259371945c1b19539794 (patch) | |
tree | cfa356d419ebecf90edcdf0e54d9b4353ce4321f /src/pulsecore/memchunk.h | |
parent | bfe69cebf334a3df337ebab32b15a8d82654fb5d (diff) |
fix pa_memchunk_make_writable(), make memchunk functions return the memchunk they modify
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1728 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/pulsecore/memchunk.h')
-rw-r--r-- | src/pulsecore/memchunk.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pulsecore/memchunk.h b/src/pulsecore/memchunk.h index 0b982b6d..10cab2b9 100644 --- a/src/pulsecore/memchunk.h +++ b/src/pulsecore/memchunk.h @@ -38,10 +38,10 @@ typedef struct pa_memchunk { /* Make a memchunk writable, i.e. make sure that the caller may have * exclusive access to the memblock and it is not read_only. If needed * the memblock in the structure is replaced by a copy. */ -void pa_memchunk_make_writable(pa_memchunk *c, size_t min); +pa_memchunk* pa_memchunk_make_writable(pa_memchunk *c, size_t min); /* Invalidate a memchunk. This does not free the cotaining memblock, * but sets all members to zero. */ -void pa_memchunk_reset(pa_memchunk *c); +pa_memchunk* pa_memchunk_reset(pa_memchunk *c); #endif |