File: cppbuilder.pm

package info (click to toggle)
openssl 4.0.0~alpha1-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 147,524 kB
  • sloc: ansic: 679,298; perl: 250,893; asm: 6,332; sh: 2,550; python: 648; makefile: 552; pascal: 311; lisp: 35; ruby: 17; cpp: 10; sed: 6
file content (16 lines) | stat: -rw-r--r-- 376 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package platform::Windows::cppbuilder;

use vars qw(@ISA);

require platform::Windows::MSVC;
@ISA = qw(platform::Windows::MSVC);

sub pdbext              { '.tds' }

# C++Builder's Clang-based compilers prepend an underscore to __cdecl-convention
# C functions, and the linker needs those as the InternalName in the .def file.
sub export2internal {
    return "_$_[1]";
}

1;