diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2019-10-16 23:25:06 +0200 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2019-10-16 23:25:06 +0200 |
commit | f3e7f120250fb6764656ce574aa1c1e0248e3483 (patch) | |
tree | b60b942e693aca66a1eba8df561d1f5731a8f1f1 /GdiRadarLib/GdiRadar.h | |
parent | 257feb9a1f9b00e29f430d01cbae529a63b81354 (diff) |
added NULL ptr checks for public API and added close&cleanup function
Diffstat (limited to 'GdiRadarLib/GdiRadar.h')
-rw-r--r-- | GdiRadarLib/GdiRadar.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/GdiRadarLib/GdiRadar.h b/GdiRadarLib/GdiRadar.h index 5ccf9ed..9f2bcbe 100644 --- a/GdiRadarLib/GdiRadar.h +++ b/GdiRadarLib/GdiRadar.h @@ -53,4 +53,5 @@ static void gdi_radar_set_game_dimensions(struct gdi_radar_context * const ctx, (UINT64)GameMapWidth, (UINT64)GameMapHeight, StickToBottom); } LRESULT gdi_radar_process_window_events_blocking(struct gdi_radar_context * const ctx); -LRESULT gdi_radar_process_window_events_nonblocking(struct gdi_radar_context * const ctx);
\ No newline at end of file +LRESULT gdi_radar_process_window_events_nonblocking(struct gdi_radar_context * const ctx); +void gdi_radar_close_and_cleanup(struct gdi_radar_context ** const ctx);
\ No newline at end of file |