some comments (nw)

This commit is contained in:
Oliver Stöneberg 2014-03-24 22:27:38 +00:00
parent 8f0d86811a
commit 75f2734a41
2 changed files with 5 additions and 2 deletions

View File

@ -45,7 +45,7 @@ int core_strnicmp(const char *s1, const char *s2, size_t n);
#define strncasecmp !MUST_USE_CORE_STRNICMP_INSTEAD!
/* since strdup is not part of the standard, we use this instead */
/* since strdup is not part of the standard, we use this instead - free with osd_free() */
char *core_strdup(const char *str);
/* this macro prevents people from using strdup directly */

View File

@ -847,7 +847,8 @@ char *osd_get_clipboard_text(void);
Return value:
an allocated pointer to an osd_directory_entry representing
info on the path; even if the file does not exist
info on the path; even if the file does not exist.
free with osd_free()
-----------------------------------------------------------------------------*/
osd_directory_entry *osd_stat(const char *path);
@ -880,7 +881,9 @@ struct osd_midi_device;
void osd_init_midi(void);
void osd_shutdown_midi(void);
void osd_list_midi_devices(void);
// free result with osd_close_midi_channel()
osd_midi_device *osd_open_midi_input(const char *devname);
// free result with osd_close_midi_channel()
osd_midi_device *osd_open_midi_output(const char *devname);
void osd_close_midi_channel(osd_midi_device *dev);
bool osd_poll_midi_channel(osd_midi_device *dev);