ViewVC Help
View File
|
Revision Log
|
Show Annotations
|
Download File
/
cvs
/
deliantra
/
dclient
/
testsuite
/
adt
/
test_function_init.cpp
Revision:
1.1
Committed:
Sun Oct 17 08:15:14 2010 UTC
(13 years, 8 months ago) by
sf-pippijn
Branch:
MAIN
CVS Tags:
HEAD
Log Message:
initial import
File Contents
#
Content
1
#include "test_function.h"
2
3
with_function wf;
4
with_virtual wv;
5
6
struct implementor
7
: with_virtual::interface
8
{
9
void cb () { }
10
};
11
12
static implementor itor;
13
14
void func () { }
15
16
void
17
init ()
18
{
19
wf.cb = func;
20
wv.iface = &itor;
21
}