source: branches/profile/AISC_COM/C/aisc_func_types.h

Last change on this file was 7415, checked in by westram, 13 years ago

merged from dev [7395] [7396] [7397] [7398] [7399] [7400] [7401] [7402] [7403] [7404] [7405]

  • server/client interface
    • changed invalid casts (now casts are done between classes derived from dll<XXX>)
    • re-activated 'unused' warnings (deactivated since [566])
    • removed unused functions/variables
    • removed 'extern "C"'-voodoo
    • when creating two objects containing a DESTROY callback (like PT_local), AISC servers now warn and automatically destroy the 1st created object (which leaked) and then create the 2nd
  • fixed multiple creation of PT_local from PT_FamilyFinder
  • print ioerror when saving nameserver db fails
  • AISC interpreter
    • fixed array overflow in command table
    • detect "endless" recursive evaluation
    • fixed RUIs occurred while scanning backwards
    • fixed leak
    • GOSUB/CALL (change function argument parsing and evaluation)
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.4 KB
Line 
1// =============================================================== //
2//                                                                 //
3//   File      : aisc_func_types.h                                 //
4//   Purpose   :                                                   //
5//                                                                 //
6//   Coded by Ralf Westram (coder@reallysoft.de) in 2000           //
7//   Institute of Microbiology (Technical University Munich)       //
8//   http://www.arb-home.de/                                       //
9//                                                                 //
10// =============================================================== //
11
12#ifndef AISC_FUNC_TYPES_H
13#define AISC_FUNC_TYPES_H
14
15struct sigcontext;
16struct Hs_struct;
17
18#define aisc_talking_func_proto_void(func_name)     void func_name(long arg1, ...)
19#define aisc_talking_func_proto_long(func_name)     long func_name(long arg1, ...)
20#define aisc_talking_func_proto_longp(func_name)    long* func_name(long arg1, ...)
21#define aisc_talking_func_proto_double(func_name)   double func_name(long arg1, ...)
22
23typedef aisc_talking_func_proto_void((*aisc_destroy_callback));
24typedef aisc_talking_func_proto_long((*aisc_talking_func_long));
25typedef aisc_talking_func_proto_longp((*aisc_talking_func_longp));
26typedef aisc_talking_func_proto_double((*aisc_talking_func_double));
27
28#else
29#error aisc_func_types.h included twice
30#endif // AISC_FUNC_TYPES_H
Note: See TracBrowser for help on using the repository browser.