/[ascend]/trunk/pygtk/interface/extfn.h
ViewVC logotype

Annotation of /trunk/pygtk/interface/extfn.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 180 - (hide annotations) (download) (as text)
Thu Jan 12 03:20:58 2006 UTC (18 years, 6 months ago) by johnpye
File MIME type: text/x-chdr
File size: 672 byte(s)
Adding a little documentation
1 johnpye 132 #ifndef ASCXX_EXTFN_H
2     #define ASCXX_EXTFN_H
3    
4     extern "C"{
5     #include <utilities/ascConfig.h>
6     #include <compiler/compiler.h>
7     #include <compiler/extfunc.h>
8     }
9    
10     #include "symchar.h"
11    
12 johnpye 180 /**
13     This is a wrapper for external black box functions as returned
14     by the getExtFns method of the Library object. At this stage it
15     is purely for extracting meta-data about the ExtFn.
16     */
17 johnpye 132 class ExtFn {
18     private:
19     const struct ExternalFunc *e;
20     public:
21     ExtFn();
22     ExtFn(const struct ExternalFunc *);
23     ExtFn(const ExtFn &);
24     const char *getHelp() const;
25     const char *getName() const;
26     const unsigned long getNumInputs() const;
27     const unsigned long getNumOutputs() const;
28     };
29    
30     #endif // ASCXX_EXTFN_H

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22