diff src/timer.c @ 7:be4835547dd0

clean up code, convert git files to hg, etc.
author Paper
date Fri, 16 Dec 2022 20:35:06 -0500
parents 7abb5d8b20ea
children 07f0e2f43204
line wrap: on
line diff
--- a/src/timer.c	Sat Dec 17 01:48:13 2022 +0000
+++ b/src/timer.c	Fri Dec 16 20:35:06 2022 -0500
@@ -5,13 +5,13 @@
 #include <windows.h>
 #include "timer.h"
 
-void timer_init(struct timer_t* timer, HWND winampClientWindow, TIMERPROC timer_proc) {
+void timer_init(struct timer* timer, HWND winampClientWindow, TIMERPROC timer_proc) {
 	timer->winampClientWindow = winampClientWindow;
 	timer->timer_proc = timer_proc;
 	timer->initialized = 1;
 }
 
-void timer_set(struct timer_t* timer, HWND winampClientWindow) {
+void timer_set(struct timer* timer, HWND winampClientWindow) {
 	assert(timer->initialized);
 	
 	if (timer->is_timer_alive)
@@ -21,7 +21,7 @@
 	SetTimer(winampClientWindow, 1, timer->interval, timer->timer_proc);
 }
 
-void timer_stop(struct timer_t* timer, HWND winampClientWindow) {
+void timer_stop(struct timer* timer, HWND winampClientWindow) {
 	assert(timer->initialized);
 	
 	if (!timer->is_timer_alive)