Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change function signature of rem_get to use enum #57

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion libcue.h
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ CUE_EXPORT Rem* track_get_rem(const Track* track);
* return pointer to value for rem comment
* @param unsigned int: enum of rem comment
*/
CUE_EXPORT const char* rem_get(unsigned int, Rem*);
CUE_EXPORT const char* rem_get(enum RemType cmt, const Rem *rem);

/* Track functions */
CUE_EXPORT Track *cd_get_track(const Cd *cd, int i);
Expand Down
2 changes: 1 addition & 1 deletion rem.c
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ rem_set( unsigned int cmt,

const char*
rem_get( RemType cmt,
Rem* rem)
const Rem* rem)
{
if (rem == NULL)
return NULL;
Expand Down