Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 #ifdef HAVE_CONFIG_H
00024 #include <config.h>
00025 #endif
00026
00027 #include "gripes.h"
00028 #include "oct-obj.h"
00029 #include "ov.h"
00030 #include "ov-fcn-handle.h"
00031 #include "ov-scalar.h"
00032 #include "ov-typeinfo.h"
00033 #include "ops.h"
00034
00035 DEFBINOP (eq, fcn_handle, fcn_handle)
00036 {
00037 CAST_BINOP_ARGS (const octave_fcn_handle&, const octave_fcn_handle&);
00038
00039 return v1.is_equal_to (v2);
00040 }
00041
00042 DEFBINOP (ne, fcn_handle, fcn_handle)
00043 {
00044 CAST_BINOP_ARGS (const octave_fcn_handle&, const octave_fcn_handle&);
00045
00046 return ! v1.is_equal_to (v2);
00047 }
00048
00049 void
00050 install_fcn_ops (void)
00051 {
00052 INSTALL_BINOP (op_eq, octave_fcn_handle, octave_fcn_handle, eq);
00053 INSTALL_BINOP (op_ne, octave_fcn_handle, octave_fcn_handle, ne);
00054 }