cppbuilder.pm 376 B

12345678910111213141516
  1. package platform::Windows::cppbuilder;
  2. use vars qw(@ISA);
  3. require platform::Windows::MSVC;
  4. @ISA = qw(platform::Windows::MSVC);
  5. sub pdbext { '.tds' }
  6. # C++Builder's Clang-based compilers prepend an underscore to __cdecl-convention
  7. # C functions, and the linker needs those as the InternalName in the .def file.
  8. sub export2internal {
  9. return "_$_[1]";
  10. }
  11. 1;