[Freeciv-Dev] [patch #1794] unify check for ai functions

2010-08-02 Thread Marko Lindqvist

Update of patch #1794 (project freeciv):

 Assigned to: syntron = cazfi  

___

Follow-up Comment #3:

 I had in mind macro CALL_AI_FUNC() that would both check
 existence of the function and call it.

 That was also my first idea. But then all functions must follow
 an identical typedef, or?

No. It should be possible with variable arguments. I'll give it a try.


(btw. What are our current standards about assigning own patches to self? I
noticed that you had taken this one already)

___

Reply to this item at:

  http://gna.org/patch/?1794

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [patch #1794] unify check for ai functions

2010-08-02 Thread Marko Lindqvist

Update of patch #1794 (project freeciv):

  Depends on: = patch #1798


___

Reply to this item at:

  http://gna.org/patch/?1794

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [patch #1794] unify check for ai functions

2010-08-01 Thread Marko Lindqvist

Follow-up Comment #1, patch #1794 (project freeciv):

I had in mind macro CALL_AI_FUNC() that would both check existence of the
function and call it.

Anyway, your macros are not function like (_ai is expanded twice) so they
should be written with capital letters.

___

Reply to this item at:

  http://gna.org/patch/?1794

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [patch #1794] unify check for ai functions

2010-08-01 Thread Matthias Pfafferodt

Follow-up Comment #2, patch #1794 (project freeciv):

 I had in mind macro CALL_AI_FUNC() that would both check
 existence of the function and call it.

That was also my first idea. But then all functions must follow an identical
typedef, or?

 Anyway, your macros are not function like (_ai is expanded
 twice) so they should be written with capital letters.

Done

(file #9658)
___

Additional Item Attachment:

File name: 20100801-17-trunk-unify-check-for-ai-functions.patch Size:13 KB


___

Reply to this item at:

  http://gna.org/patch/?1794

___
  Nachricht geschickt von/durch Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [patch #1794] unify check for ai functions

2010-07-31 Thread Matthias Pfafferodt

URL:
  http://gna.org/patch/?1794

 Summary: unify check for ai functions
 Project: Freeciv
Submitted by: syntron
Submitted on: Sonntag 01.08.2010 um 00:59
Category: ai
Priority: 5 - Normal
  Status: In Progress
 Privacy: Public
 Assigned to: syntron
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Planned Release: 2.3.0

___

Details:

macros check_ai_func() and check_player_ai_func()



___

File Attachments:


---
Date: Sonntag 01.08.2010 um 00:59  Name:
20100731-04-trunk-unify-check-for-ai-functions.patch  Size: 14kB   By:
syntron

http://gna.org/patch/download.php?file_id=9652

___

Reply to this item at:

  http://gna.org/patch/?1794

___
  Nachricht geschickt von/durch Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev