Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic Rhapsody (steve huntington)
Decrease font size
Increase font size
Topic Title: Code generation for functions
Topic Summary:
Created On: 22-Jul-2004 13:41
Status: Read Only
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
 22-Jul-2004 13:41
User is offline View Users Profile Print this message


Christer Pehrsson

Posts: 3
Joined: 22-Jul-2004

How do I declare a function for a package that doesn't take arguments, but wants to have the word "void" for the arguments in the code generated.
ex: int hello(void)

The argument dialog requires a name, so is there a way to get the word void between the parenthesis without declaring a name.

thanks

Christer
Report this to a Moderator Report this to a Moderator
 22-Jul-2004 13:42
User is offline View Users Profile Print this message


Mark Richardson

Posts: 227
Joined: 30-Jun-2004

You could always do it manually by using the properties specification/implementation prolog/epilog for the package.
Report this to a Moderator Report this to a Moderator
 20-Jun-2005 10:17
User is offline View Users Profile Print this message


Anthony Giles

Posts: 1
Joined: 5-Apr-2005

change the property C_CG:Configuration:EmptyArgumentListName to void
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic Rhapsody forum.
There are currently 1 users logged in.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.