typedef enum { artists = 0, artists_songs = 1, artist_albums = 2, albums = 3, album_songs = 4, tags = 5, tag = 6, tag_artists = 7, tag_albums = 8, tag_songs = 9, songs = 10, song = 11, playlists = 12, playlist = 13, playlist_songs = 14, search_songs = 15 } Methods; typedef enum { artists = 0, albums = 1, songs = 2, tags = 3, playlists = 4 } ReturnTypes;
I keep getting an error in the line artist = 0 for ReturnTypes, saying that the artists were re-declared. I am not sure what the syntax error is. Any ideas?
source share