c3lang / vendor

External C3 libraries
MIT License
14 stars 11 forks source link

raylib5 Wrong Function Name Binding #20

Closed MathiasFHemmer closed 1 week ago

MathiasFHemmer commented 1 week ago

The LoadSoundAlias function from raylib5 is not properly being referenced. The raylib c3 lib is using the wrong name:

// Create a new sound that shares the same sample data as the source sound, does not own the sound data
fn Sound loadSoundAlias(Sound source) @extern("LoadSoundFromWave");

should be:

// Create a new sound that shares the same sample data as the source sound, does not own the sound data
fn Sound loadSoundAlias(Sound source) @extern("LoadSoundAlias");
lerno commented 1 week ago

Thank you, I've updated the file now.