comparison Isolated/ALmixer_RWops.c @ 56:208a9ed20087

Added explicit symbol visibility markers to audio support files in ALmixer for public headers so they can be built as a dynamic library if needed.
author Eric Wing <ewing@anscamobile.com>
date Tue, 29 May 2012 19:43:23 -0700
parents 71b465ff0622
children
comparison
equal deleted inserted replaced
55:8b4f80233969 56:208a9ed20087
6 #include <string.h> /* strerror */ 6 #include <string.h> /* strerror */
7 #include <errno.h> /* errno */ 7 #include <errno.h> /* errno */
8 8
9 /* (Note this is different than stdio's seek. This returns ftell.) 9 /* (Note this is different than stdio's seek. This returns ftell.)
10 */ 10 */
11 static int stdio_seek(ALmixer_RWops* the_context, long offset, int whence) 11 static long stdio_seek(ALmixer_RWops* the_context, long offset, int whence)
12 { 12 {
13 if(0 == fseek(the_context->hidden.stdio.fp, offset, whence)) 13 if(0 == fseek(the_context->hidden.stdio.fp, offset, whence))
14 { 14 {
15 return(ftell(the_context->hidden.stdio.fp)); 15 return(ftell(the_context->hidden.stdio.fp));
16 } 16 }