Mercurial > wgsdk
view src/include/config.h @ 9:07f0e2f43204
*: add the restrict keyword when necessary
also fixed some typos in the README
author | Paper |
---|---|
date | Fri, 16 Dec 2022 21:55:37 -0500 |
parents | 59bf702b2b21 |
children | 42ac054c0231 |
line wrap: on
line source
#ifndef __config_h #define __config_h #ifndef WIN32_LEAN_AND_MEAN # define WIN32_LEAN_AND_MEAN #endif #include <windows.h> struct config { int display_title; int show_elapsed_time; }; int cfg_load(struct config* config); int cfg_save(struct config config); BOOL CALLBACK cfg_win_proc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam); #endif