Changeset a159628


Ignore:
Timestamp:
Jan 8, 2017, 2:37:56 PM (7 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, sampler, yinfft+
Children:
c8c7aa6
Parents:
f5e9e3f
Message:

python/ext/aubiomodule.c: more hack to avoid msvc issues

Location:
python
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • python/ext/aubiomodule.c

    rf5e9e3f ra159628  
    55// this dummy macro is used to convince windows that a string passed as -D flag
    66// is just that, a string, and not a double.
    7 #define DEFINEDSTRING(x) #x
     7#define REDEFINESTRING(x) #x
     8#define DEFINEDSTRING(x) REDEFINESTRING(x)
    89
    910static char aubio_module_doc[] = "Python module for the aubio library";
  • python/tests/test_aubio.py

    rf5e9e3f ra159628  
    1010        import aubio
    1111
     12    def test_version(self):
     13        """ test aubio.version """
     14        import aubio
     15        self.assertEqual('0', aubio.version[0])
     16
    1217if __name__ == '__main__':
    1318    main()
Note: See TracChangeset for help on using the changeset viewer.