Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 06-21-2007
leojay leojay is offline
Registered User
 
Name: Leo Jay
Organization: AOVTech
Project: DPMT
 
Join Date: Jun 2007
Posts: 2
is that a typo?

page 792 of ice manual 3.2 says the prototype of isShutdown:
void isShutdown();

but, page 794 says:
This operation returns true if shutdown has been invoked on the communicator.

so, what's the return type of isShutdown? bool or void?

if the return type is void, it's useless, isn't it?

and i tried in python, it seems that the return type is void.
but in Communicator.ice:
["cpp:const"] bool isShutdown();

it's quite confusing.
Reply With Quote
  #2 (permalink)  
Old 06-21-2007
matthew's Avatar
matthew matthew is offline
ZeroC Staff
 
Name: Matthew Newhook
Organization: ZeroC, Inc.
Project: Internet Communications Engine
 
Join Date: Feb 2003
Location: NL, Canada
Posts: 1,061
Its supposed to return a bool as the slice file says. The manual is wrong and the python version of Ice has a bug.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
minor typo in doc ctennis Bug Reports 2 03-28-2007 01:28 PM
Small typo in manual ctennis Bug Reports 2 07-12-2006 06:55 PM
millseconds typo n2503v Bug Reports 1 07-06-2006 10:32 AM
IcePack src Typo StuartA Bug Reports 1 09-04-2005 09:04 PM
INSTALL.LINUX typo Ivan Bug Reports 1 05-30-2003 12:27 PM


All times are GMT -4. The time now is 12:00 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2008 ZeroC, Inc.