aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/tools/python/bootstrap/vars.cpp
blob: d1add8b326f715f6ec9a5a540e4251d601649e89 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include "vars.h"

#define RAWSTR(a) RAWXSTR(__weirdrawstr(a)__weirdrawstr)
#define RAWXSTR(a) R ## #a

extern "C" {
    const char* GetLibDir() THROWING {
        return RAWSTR(LIBDIR);
    }

    const char* GetPyLib() THROWING {
        return RAWSTR(PYLIB);
    }
}