config.h.in 330 字节
Newer Older
Y
Yu Yang 已提交
1 2 3 4 5
#ifndef __PADDLE_PADDLE_CAPI_CONFIG_H_INCLUDED__
#define __PADDLE_PADDLE_CAPI_CONFIG_H_INCLUDED__

typedef @PADDLE_FLOAT_TYPE@ pd_real;

Y
Yu Yang 已提交
6 7 8 9
// Since we only support linux and macos in compile, always use clang or
// gcc 4.8+. DLL_IMPORT/DLL_EXPORT is as simple as below.
#define PD_API __attribute__((visibility("default")))

Y
Yu Yang 已提交
10
#endif