# Skeletons for "Test2"
#
# This file was automatically generated with ILU (version 2.0beta1) tools
# at Tue Sep 21 11:44:54 1999 by `nobody'
# running "c:/iluwin/bin/python-stubber.exe" of Tue Sep 21 10:50:35 1999
# on "C:/iluwin/examples/test1/Test2.isl" of Mon Sep 20 15:53:44 1999,
# and "C:/iluwin/examples/test1/Test1.isl" of Mon Sep 20 15:53:47 1999,
# and "c:/iluwin/interfaces/ilu.isl" of Mon Sep 20 15:51:47 1999.
#
# ILU is Copyright 1991-1999 Xerox Corporation, All Rights Reserved.
# ILU information:  ftp://ftp.parc.xerox.com/pub/ilu/ilu.html.

import sys;
_imported_modules = {};
import iluRt ; _imported_modules['iluRt'] = iluRt; _imported_modules['ilu'] = iluRt;
iluRt.CheckStubConsistency('2.0beta1', 'v2 (post-2.0alpha12)');
_imported_modules['ilu__skel'] = iluRt
del iluRt
import Test2; _imported_modules['Test2'] = Test2; del Test2;
import Test1; _imported_modules['Test1'] = Test1; del Test1;
import Test1__skel; _imported_modules['Test1__skel'] = Test1__skel; del Test1__skel;
import iluRt

T1O3 = _imported_modules['Test1__skel'].O3

def _P__SR_to_I(_call):
    _self = iluRt.InputObjectID(_call, iluRt.TRUE, _imported_modules['Test2'].P)
    i = iluRt.InputShortReal(_call)
    iluRt.RequestRead(_call)
    try:
	_result = _self.SR_to_I(i)
    except:
	iluRt.CaughtUnexpectedException(_call)
    iluRt.BeginReply(_call, iluRt.FALSE, iluRt.BeginSizingReply(_call, iluRt.FALSE) + iluRt.SizeOfInteger(_call, _result))
    iluRt.OutputInteger(_call, _result)
    iluRt.FinishReply(_call)

iluRt.RegisterSkeletons(_imported_modules['Test2'].P._IluClass, (\
  _P__SR_to_I,))

class P(iluRt.IluObjTrue):
    _IluClass = _imported_modules['Test2'].P._IluClass

    def SR_to_I(_self, i):
	raise iluRt.IluUnimplementedMethodError, 'SR-to-I'
