blob: 9b9f239a9cb77fbc07387ce6643bbc243126e15b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
/*
* Public Domain 2003 Dale Rahn
*
* $OpenBSD: ac.C,v 1.2 2005/09/18 19:58:50 drahn Exp $
*/
#include <iostream>
#include <stdlib.h>
#include "ac.h"
extern int a;
extern "C" {
char *libname = "libac";
};
extern "C" void
lib_entry()
{
std::cout << "called into ac " << libname << " libname " << "\n";
}
AC::AC(char *str)
{
_name = str;
}
AC::~AC()
{
}
AC ac("local");
|