blob: 0bec611096b15ec786be59904d7f496184018747 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
var template_typedef_cplx3 = require("template_typedef_cplx3");
//
// this is OK
//
s = new template_typedef_cplx3.Sin();
s.get_base_value();
s.get_value();
s.get_arith_value();
template_typedef_cplx3.my_func_r(s);
template_typedef_cplx3.make_Multiplies_double_double_double_double(s, s);
//
// Here we fail
//
d = template_typedef_cplx3.make_Identity_double();
template_typedef_cplx3.my_func_r(d);
|