view src/dynamic-ld.h @ 572:94fd73d1a0bc

[project @ 1994-07-28 05:35:47 by jwe]
author jwe
date Thu, 28 Jul 1994 05:35:47 +0000
parents 6898f0c9e096
children d7c4962ec7a0
line wrap: on
line source

// dynamic-ld.h                                        -*- C++ -*-
/*

Copyright (C) 1993, 1994 John W. Eaton

This file is part of Octave.

Octave is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 2, or (at your option) any
later version.

Octave is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
for more details.

You should have received a copy of the GNU General Public License
along with Octave; see the file COPYING.  If not, write to the Free
Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.

*/

#if !defined (octave_dynamic_ld_h)
#define octave_dynamic_ld_h 1

#include "oct-obj.h"

typedef Octave_object (*builtin_fcn_ptr) (const Octave_object&, int);

extern void octave_dld_tc2_unlink_by_symbol (const char *name, int hard = 1);

extern void octave_dld_tc2_unlink_by_file (const char *name, int hard = 1);

extern builtin_fcn_ptr octave_dld_tc2 (const char *name, const char *fcn);

extern Octave_object octave_dld_tc2_and_go (const Octave_object&,
					    int nargout,
					    const char *name,
					    const char *fcn);

#endif

/*
;;; Local Variables: ***
;;; mode: C++ ***
;;; page-delimiter: "^/\\*" ***
;;; End: ***
*/