File: cpp_main.cpp

package info (click to toggle)
gprbuild 2021.0.0.0778b109-5
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 5,776 kB
  • sloc: ada: 70,235; makefile: 452; sh: 396; python: 222; ansic: 151; cpp: 89; fortran: 62; xml: 13
file content (13 lines) | stat: -rw-r--r-- 190 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include <iostream>
extern "C" void call_cpp ();
extern "C" void adainit ();
extern "C" void adafinal ();

using namespace std;

int main () 
{
  adainit ();
  call_cpp ();
  adafinal ();
}