MP3-Player-PktConcert
view release on metacpan or search on metacpan
Player/PktConcert/PktConcert.xs view on Meta::CPAN
CODE:
track_id = SvIV( id );
IPC_Delete_Track( self, track_id );
void
usage( self )
ipc_t *self
PREINIT:
u_int32_t *bfree;
u_int32_t *btotal;
PPCODE:
bfree = (u_int32_t *)safemalloc( sizeof( u_int32_t ));
btotal = (u_int32_t *)safemalloc( sizeof( u_int32_t ));
IPC_Get_Usage( self, bfree, btotal );
EXTEND( SP, 2 );
PUSHs( sv_2mortal( newSViv( *bfree )));
PUSHs( sv_2mortal( newSViv( *btotal )));
MODULE = MP3::Player::PktConcert PACKAGE = MP3::Player::PktConcert::Track
# ============================================================
( run in 0.988 second using v1.01-cache-2.11-cpan-5511b514fd6 )