iiwusynth-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[iiwusynth-devel] One last thing before release!


From: Josh Green
Subject: [iiwusynth-devel] One last thing before release!
Date: 12 Mar 2003 11:03:56 -0800

I just realized I overlooked a runtime version check routine. This is
necessary for verifying that the loaded FluidSynth library matches the
headers that a program using the library was compiled with (the source
of many crash problems in Swami). Here is my proposed changes:

include/iiwusynth/version.h.in:

void iiwu_version (int *major, int *minor, int *micro);


src/iiwu_synth.c (or somewhere else?):

#include <iiwusynth/version.h>   /* header in include/iiwusynth/ */

void
iiwu_version (int *major, int *minor, int *micro)
{
  *major = IIWUSYNTH_VERSION_MAJOR;
  *minor = IIWUSYNTH_VERSION_MINOR;
  *micro = IIWUSYNTH_VERSION_MICRO;
}


I can add this if I get an okay. How are things going with the release?
Cheers.
        Josh Green





reply via email to

[Prev in Thread] Current Thread [Next in Thread]