ref: 324c1d8776054394d30ea987f84c1ba2f1b1ff6f
parent: 6cae0f05cfedce28038f9411f03e6b1415250c33
author: Simon Howard <fraggle@gmail.com>
date: Sat Aug 29 17:05:36 EDT 2009
Rename MIDI_OpenFile to MIDI_LoadFile, remove unneeded structure packing. Subversion-branch: /branches/opl-branch Subversion-revision: 1636
--- a/src/midifile.c
+++ b/src/midifile.c
@@ -60,7 +60,7 @@
midi_event_t *events;
int num_events;
-} PACKEDATTR midi_track_t;
+} midi_track_t;
struct midi_file_s
{
@@ -575,7 +575,7 @@
free(file);
}
-midi_file_t *MIDI_OpenFile(char *filename)
+midi_file_t *MIDI_LoadFile(char *filename)
{
midi_file_t *file;
FILE *stream;
--- a/src/midifile.h
+++ b/src/midifile.h
@@ -129,7 +129,7 @@
} data;
} midi_event_t;
-midi_file_t *MIDI_OpenFile(char *filename);
+midi_file_t *MIDI_LoadFile(char *filename);
void MIDI_FreeFile(midi_file_t *file);
#endif /* #ifndef MIDIFILE_H */