Files
CMake/Tests/RunCMake/AutoExportDll/hello.cxx
Malcolm Bechard f513781bc5 WINDOWS_EXPORT_ALL_SYMBOLS: Export vftable symbol
`pybind11` requires access to this symbol to link in some cases.
Include this symbol when generating automatic exports via
`CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS`.

Fixes: #24406
2023-02-14 09:11:45 -05:00

24 lines
303 B
C++

#include "hello.h"
#include <stdio.h>
int Hello::Data = 0;
void Hello::real()
{
return;
}
void hello()
{
printf("hello");
}
void Hello::operator delete[](void*){};
void Hello::operator delete(void*){};
#ifdef HELLO_VFTABLE
HelloVFTable::HelloVFTable()
{
}
HelloVFTable::~HelloVFTable()
{
}
#endif