~ubuntu-branches/ubuntu/vivid/linphone/vivid

« back to all changes in this revision

Viewing changes to oRTP/include/ortp/port.h

  • Committer: Bazaar Package Importer
  • Author(s): Mark Purcell
  • Date: 2010-06-07 22:14:41 UTC
  • mfrom: (1.3.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20100607221441-sbk1n7hp0mzu1rze
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
259
259
 
260
260
void ortp_set_memory_functions(OrtpMemoryFunctions *functions);
261
261
 
262
 
#define ortp_new(type,count)    ortp_malloc(sizeof(type)*(count))
263
 
#define ortp_new0(type,count)   ortp_malloc0(sizeof(type)*(count))
 
262
#define ortp_new(type,count)    (type*)ortp_malloc(sizeof(type)*(count))
 
263
#define ortp_new0(type,count)   (type*)ortp_malloc0(sizeof(type)*(count))
264
264
 
265
265
int close_socket(ortp_socket_t sock);
266
266
int set_non_blocking_socket(ortp_socket_t sock);