Project

Profile

Help

HostedRedmine.com has moved to the Planio platform. All logins and passwords remained the same. All users will be able to login and use Redmine just as before. Read more...

Feature #769078

Change call signature for luascript funcs to allow any return values

Added by Zoltán Žarkov over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Category:
General
Sprint/Milestone:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

To allow for fcdb functions that return strings or other values, luascript calls should be able to take pointers for return values in the va_list.


Related issues

Blocks Freeciv - Feature #766520: Add fcdb hook for checking if player delegation is allowedClosed

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>

History

#1 Updated by Zoltán Žarkov over 2 years ago

  • Blocks Feature #766520: Add fcdb hook for checking if player delegation is allowed added

#5 Updated by Marko Lindqvist over 2 years ago

  • Sprint/Milestone changed from 3.0.0 to 3.1.0

Changing target version to 3.1. I don't think we want this big change to S3_0 any more, as a completely new feature (i.e. not an improvement to something that is already a 3.0 feature).

With a quick read found just two minor issues:

- luascript_func_call() function header uses lower case 'true' and 'false' where 'TRUE' and 'FALSE' should be used
- password is freed only if it's not NULL (good) AND not empty (not good)

#7 Updated by Marko Lindqvist over 2 years ago

  • Category set to General
  • Status changed from In Progress to Resolved
  • Assignee changed from Zoltán Žarkov to Marko Lindqvist

#10 Updated by Marko Lindqvist over 2 years ago

  • Status changed from Resolved to Closed

#11 Updated by Marko Lindqvist over 2 years ago

  • Status changed from Closed to In Progress
  • Sprint/Milestone changed from 3.1.0 to 3.0.0

I think we need this for S3_0 after all, to support dependent features for longturn.org.

#12 Updated by Marko Lindqvist over 2 years ago

  • Assignee changed from Marko Lindqvist to Zoltán Žarkov

#14 Updated by Marko Lindqvist over 2 years ago

  • Status changed from In Progress to Resolved
  • Assignee changed from Zoltán Žarkov to Marko Lindqvist

#15 Updated by Marko Lindqvist over 2 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF