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;
我一直在返回类型的艺术家 = 0 行上收到错误,说艺术家已被重新声明。我不确定这是什么语法错误。有任何想法吗?