Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • python/ext/aubiomodule.c

    r333a5bb ra159628  
    22#include "aubio-types.h"
    33#include "py-musicutils.h"
     4
     5// this dummy macro is used to convince windows that a string passed as -D flag
     6// is just that, a string, and not a double.
     7#define REDEFINESTRING(x) #x
     8#define DEFINEDSTRING(x) REDEFINESTRING(x)
    49
    510static char aubio_module_doc[] = "Python module for the aubio library";
     
    324329
    325330  PyModule_AddStringConstant(m, "float_type", AUBIO_NPY_SMPL_STR);
     331  PyModule_AddStringConstant(m, "__version__", DEFINEDSTRING(AUBIO_VERSION));
    326332
    327333  // add generated objects
Note: See TracChangeset for help on using the changeset viewer.