annotate nuklear_ui/filechooser.h @ 2551:c30f0a288ccf

Fix out of bounds buffer access when loading a cue sheet > 2048 bytes via file browser or drag and drop
author Michael Pavone <pavone@retrodev.com>
date Wed, 08 Jan 2025 23:30:07 -0800
parents 94cf5cc89227
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2355
94cf5cc89227 Add an option to use the system file picker on Linux and Windows
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
1 #ifndef FILECHOOSER_H_
94cf5cc89227 Add an option to use the system file picker on Linux and Windows
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
2 #define FILECHOOSER_H_
94cf5cc89227 Add an option to use the system file picker on Linux and Windows
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
3
94cf5cc89227 Add an option to use the system file picker on Linux and Windows
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
4 uint8_t native_filechooser_available(void);
94cf5cc89227 Add an option to use the system file picker on Linux and Windows
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
5 char* native_filechooser_pick(const char *title, const char *start_directory);
94cf5cc89227 Add an option to use the system file picker on Linux and Windows
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
6
94cf5cc89227 Add an option to use the system file picker on Linux and Windows
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
7 #endif //FILECHOOSER_H_