X-Git-Url: https://plomlompom.com/repos/berlin_corona.txt?a=blobdiff_plain;f=src%2Fwindows.h;h=5ec4d2f62bc709c80dc632290c22ed21e9fd9a00;hb=f44e1046dd5fafc71ac481490633ae544c5e5b0c;hp=a40835d9c591925b3d080b8747495c9b21a5c3ed;hpb=0399a31b31047ab82348f733d6c56524258d1188;p=plomrogue diff --git a/src/windows.h b/src/windows.h index a40835d..5ec4d2f 100644 --- a/src/windows.h +++ b/src/windows.h @@ -95,7 +95,7 @@ struct WinMeta * initialized 0, except for the virtual screen (height = that of the terminal * screen; width = 1) amd its frame sized to the size of the terminal screen. */ -extern uint8_t init_win_meta(WINDOW * screen, struct WinMeta * wmeta); +extern uint8_t init_win_meta(WINDOW * screen, struct WinMeta ** wmeta); @@ -119,7 +119,8 @@ extern uint8_t init_win(struct WinMeta * wmeta, struct Win ** w, char * title, -/* Free allocated memory for an initialized Win struct. */ +/* Free allocated memory for an initialized Win / WinMeta struct. */ +extern void free_winmeta(struct WinMeta * wmeta); extern void free_win(struct Win * win);