Update RingRayLib - raylib.c - Add Function : void ResumeMusicStream(Music music)
@@ -6749,6 +6749,18 @@ RING_FUNC(ring_PauseMusicStream)
ring_state_free(((VM *) pPointer)->pRingState,RING_API_GETCPOINTER(1,"Music"));
}
+
+RING_FUNC(ring_ResumeMusicStream)
+{
+ if ( RING_API_PARACOUNT != 1 ) {
+ RING_API_ERROR(RING_API_MISS1PARA);
+ return ;
+ }
+ ResumeMusicStream(* (Music *) RING_API_GETCPOINTER(1,"Music"));
+ if (RING_API_ISCPOINTERNOTASSIGNED(1))
+ ring_state_free(((VM *) pPointer)->pRingState,RING_API_GETCPOINTER(1,"Music"));
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("initwindow",ring_InitWindow);
@@ -7133,4 +7145,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("updatemusicstream",ring_UpdateMusicStream);
ring_vm_funcregister("stopmusicstream",ring_StopMusicStream);
ring_vm_funcregister("pausemusicstream",ring_PauseMusicStream);
+ ring_vm_funcregister("resumemusicstream",ring_ResumeMusicStream);
}
