1
|
1 // dynamic-ld.h -*- C++ -*- |
|
2 /* |
|
3 |
383
|
4 Copyright (C) 1993, 1994 John W. Eaton |
1
|
5 |
|
6 This file is part of Octave. |
|
7 |
|
8 Octave is free software; you can redistribute it and/or modify it |
|
9 under the terms of the GNU General Public License as published by the |
|
10 Free Software Foundation; either version 2, or (at your option) any |
|
11 later version. |
|
12 |
|
13 Octave is distributed in the hope that it will be useful, but WITHOUT |
|
14 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
15 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
|
16 for more details. |
|
17 |
|
18 You should have received a copy of the GNU General Public License |
|
19 along with Octave; see the file COPYING. If not, write to the Free |
|
20 Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. |
|
21 |
|
22 */ |
|
23 |
383
|
24 #if !defined (octave_dynamic_ld_h) |
|
25 #define octave_dynamic_ld_h 1 |
1
|
26 |
|
27 class tree_constant; |
|
28 |
|
29 typedef tree_constant* (*builtin_fcn_ptr) (tree_constant*, int, int); |
|
30 |
164
|
31 extern void octave_dld_tc2_unlink_by_symbol (const char *name, int hard = 1); |
|
32 |
|
33 extern void octave_dld_tc2_unlink_by_file (const char *name, int hard = 1); |
1
|
34 |
164
|
35 extern builtin_fcn_ptr octave_dld_tc2 (const char *name, |
|
36 const char *fcn, |
|
37 const char *object); |
1
|
38 |
|
39 extern tree_constant *octave_dld_tc2_and_go (tree_constant *args, |
|
40 int nargin, int nargout, |
164
|
41 const char *name, |
|
42 const char *fcn, |
|
43 const char *object); |
1
|
44 |
|
45 #endif |
|
46 |
|
47 /* |
|
48 ;;; Local Variables: *** |
|
49 ;;; mode: C++ *** |
|
50 ;;; page-delimiter: "^/\\*" *** |
|
51 ;;; End: *** |
|
52 */ |