source: trunk/tests/class_c/bclass.c

Last change on this file was 326, checked in by cinc, 18 years ago

Portability patches for Windows, Linux, Darwin by Bird.

File size: 1.3 KB
Line 
1/*
2 * This file was generated by the NOM IDL compiler for Voyager - DO NOT EDIT!
3 *
4 *
5 * And remember, phase 3 is near...
6 */
7/*
8 * Built from idl/bclass.idl
9 */
10#ifndef NOM_BClass_IMPLEMENTATION_FILE
11#define NOM_BClass_IMPLEMENTATION_FILE
12#endif
13
14#ifdef __OS2__
15# define INCL_DOS
16# include <os2.h>
17#endif /* __OS2__ */
18
19#include <nom.h>
20#include <nomtk.h>
21
22#include "bclass.ih"
23
24NOM_Scope gulong NOMLINK impl_BClass_tstQueryBClassUlongVar1(BClass* nomSelf,
25 CORBA_Environment *ev)
26{
27 BClassData* nomThis = BClassGetData(nomSelf);
28 gulong nomRetval;
29
30 return _ulVar1;
31}
32
33NOM_Scope gulong NOMLINK impl_BClass_tstQueryBClassUlongVar2(BClass* nomSelf,
34 CORBA_Environment *ev)
35{
36 BClassData* nomThis = BClassGetData(nomSelf);
37
38 return _ulVar2;
39}
40
41NOM_Scope void NOMLINK impl_BClass_tstSetBClassUlongVar1(BClass* nomSelf,
42 const gulong ulNew,
43 CORBA_Environment *ev)
44{
45 BClassData* nomThis = BClassGetData(nomSelf);
46
47 g_message("In %s, setting ulVar1 to 0x%lx", __FUNCTION__, ulNew);
48 _ulVar1=ulNew;
49}
50
51NOM_Scope void NOMLINK impl_BClass_tstSetBClassUlongVar2(BClass* nomSelf,
52 const gulong ulNew,
53 CORBA_Environment *ev)
54{
55 BClassData* nomThis = BClassGetData(nomSelf);
56
57 g_message("In %s, setting ulVar2 to 0x%lx", __FUNCTION__, ulNew);
58 _ulVar2=ulNew;
59}
60
Note: See TracBrowser for help on using the repository browser.