From 1e191607c478f2d6d78ae2b80855d05f877bd8bb Mon Sep 17 00:00:00 2001 From: Aldrik Ramaekers Date: Fri, 15 Mar 2024 23:09:25 +0100 Subject: NULL > nullptr --- src/platform.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src/platform.h') diff --git a/src/platform.h b/src/platform.h index 5d2711e..3a3b33e 100644 --- a/src/platform.h +++ b/src/platform.h @@ -1,5 +1,4 @@ -#ifndef INCLUDE_PLATFORM -#define INCLUDE_PLATFORM +#pragma once #include "array.h" #include "memory_bucket.h" @@ -43,10 +42,8 @@ extern ts_dragdrop_data dragdrop_data; bool ts_platform_dir_exists(utf8_int8_t* dir); ts_file_content ts_platform_read_file(char *path, const char *mode); -void ts_platform_list_files_block(ts_search_result* result, wchar_t* start_dir = nullptr); +void ts_platform_list_files_block(ts_search_result* result, wchar_t* start_dir = NULL); uint64_t ts_platform_get_time(uint64_t compare = 0); // if compare is not 0, return difference between timestamp and now, in milliseconds. void ts_platform_open_file_as(utf8_int8_t* str); void ts_platform_open_file_in_folder(utf8_int8_t* file); void ts_platform_set_window_title(utf8_int8_t* str); - -#endif \ No newline at end of file -- cgit v1.2.3-70-g09d2