diff options
author | David Robillard <d@drobilla.net> | 2011-04-28 00:40:03 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-04-28 00:40:03 +0000 |
commit | 3f09b87f2a1d6d0b6c913be7e95ce58b2d5ec80b (patch) | |
tree | 5362a4e0725d80a26376870422203e41af2bd377 /src/host.c | |
parent | f5e6d0f800973cb7e834b838888c749d574d02be (diff) | |
download | suil-3f09b87f2a1d6d0b6c913be7e95ce58b2d5ec80b.tar.gz suil-3f09b87f2a1d6d0b6c913be7e95ce58b2d5ec80b.tar.bz2 suil-3f09b87f2a1d6d0b6c913be7e95ce58b2d5ec80b.zip |
Don't hide pointers behind typedefs.
git-svn-id: http://svn.drobilla.net/lad/trunk/suil@3203 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/host.c')
-rw-r--r-- | src/host.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -17,13 +17,13 @@ #include "suil_internal.h" SUIL_API -SuilHost +SuilHost* suil_host_new(SuilPortWriteFunc write_func, SuilPortIndexFunc index_func, SuilPortSubscribeFunc subscribe_func, SuilPortUnsubscribeFunc unsubscribe_func) { - SuilHost host = malloc(sizeof(struct _SuilHost)); + SuilHost* host = malloc(sizeof(struct SuilHostImpl)); host->write_func = write_func; host->index_func = index_func; host->subscribe_func = subscribe_func; @@ -33,7 +33,7 @@ suil_host_new(SuilPortWriteFunc write_func, SUIL_API void -suil_host_free(SuilHost host) +suil_host_free(SuilHost* host) { free(host); } |