1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87
|
/*
PsychVersioning.h
AUTHORS:
Allen.Ingling@nyu.edu awi
mario.kleiner.de@gmail.com mk
PLATFORMS:
All
HISTORY:
3/13/03 awi Created.
11/3/04 awi Incremented version number to 1.0.2 from 1.0.1 for 3 November release.
11/18/04 awi changed "Matlab" to "MATLAB"
10/05/06 mk Incremented version number to 3.0.8.
04/11/11 mk Incremented version number to 3.0.9 to mark license change and
broken backwards compatibility wrt. video capture etc.
*/
//begin include once
#ifndef PSYCH_IS_INCLUDED_PsychVersioning
#define PSYCH_IS_INCLUDED_PsychVersioning
#include "Psych.h"
//these are all constants defined only for reporting versioning. They are returned by Module('Version')
#define PSYCHTOOLBOX_MAJOR_VERSION 3
#define PSYCHTOOLBOX_MINOR_VERSION 0
#define PSYCHTOOLBOX_POINT_VERSION 19
//If you fork my source please change this name. - awi
#define PSYCHTOOLBOX_PROJECT_NAME "OpenGL Psychtoolbox"
#if PSYCH_SYSTEM == PSYCH_OSX
//Placeholder for the OS X version at build time.
#define PSYCHTOOLBOX_OS_NAME "Apple macOS"
#endif
#if PSYCH_SYSTEM == PSYCH_WINDOWS
//Placeholder for the M$-Windows version at build time.
#define PSYCHTOOLBOX_OS_NAME "Microsoft Windows"
#endif
#if PSYCH_SYSTEM == PSYCH_LINUX
//Placeholder for the GNU/Linux version at build time.
#ifdef PTB_USE_WAYLAND
#define PSYCHTOOLBOX_OS_NAME "GNU/Linux WAYLAND"
#else
#ifdef PTB_USE_WAFFLE
#define PSYCHTOOLBOX_OS_NAME "GNU/Linux WAFFLE"
#else
#define PSYCHTOOLBOX_OS_NAME "GNU/Linux X11"
#endif
#endif
#endif
#if defined(__LP64__) || defined(_WIN64)
#define PTB_ARCHITECTURE " 64-Bit"
#else
#define PTB_ARCHITECTURE " 32-Bit"
#endif
#if PSYCH_LANGUAGE == PSYCH_MATLAB
#ifndef PTBOCTAVE3MEX
// Binary plugin for MATLAB:
#define PSYCHTOOLBOX_SCRIPTING_LANGUAGE_NAME "Matlab" PTB_ARCHITECTURE
#else
// Binary plugin for Octave-3 or later via the MEX interface:
#define PSYCHTOOLBOX_SCRIPTING_LANGUAGE_NAME "GNU/Octave" PTB_ARCHITECTURE
#endif
#endif
#if PSYCH_LANGUAGE == PSYCH_PYTHON
// Binary plugin for Python:
#define PSYCHTOOLBOX_SCRIPTING_LANGUAGE_NAME "Python" PTB_ARCHITECTURE
#endif
char *PsychGetBuildDate(void);
char *PsychGetBuildTime(void);
int PsychGetBuildNumber(void);
char *PsychGetVersionString(void);
int PsychGetMajorVersionNumber(void);
int PsychGetMinorVersionNumber(void);
int PsychGetPointVersionNumber(void);
//end include once
#endif
|