comparison libinterp/octave-value/ov.h @ 31606:dfa5d9c3ae72

maint: merge stable to default
author Rik <rik@octave.org>
date Thu, 01 Dec 2022 14:28:07 -0800
parents 0f968958d7d5 e88a07dec498
children 23664317f0d3
comparison
equal deleted inserted replaced
31604:9ecc95d840ca 31606:dfa5d9c3ae72
42 #include "mx-base.h" 42 #include "mx-base.h"
43 #include "oct-sort.h" 43 #include "oct-sort.h"
44 #include "oct-time.h" 44 #include "oct-time.h"
45 #include "str-vec.h" 45 #include "str-vec.h"
46 46
47 OCTAVE_NAMESPACE_BEGIN 47 OCTAVE_BEGIN_NAMESPACE(octave)
48 48
49 class stack_frame; 49 class stack_frame;
50 class type_info; 50 class type_info;
51 51
52 OCTAVE_NAMESPACE_END 52 OCTAVE_END_NAMESPACE(octave)
53 53
54 class Cell; 54 class Cell;
55 class float_format; 55 class float_format;
56 class mxArray; 56 class mxArray;
57 class octave_map; 57 class octave_map;
1627 1627
1628 }; 1628 };
1629 1629
1630 // Non-member unary and binary operations on octave_value objects. 1630 // Non-member unary and binary operations on octave_value objects.
1631 1631
1632 OCTAVE_NAMESPACE_BEGIN 1632 OCTAVE_BEGIN_NAMESPACE(octave)
1633 1633
1634 extern OCTINTERP_API octave_value 1634 extern OCTINTERP_API octave_value
1635 unary_op (type_info& ti, octave_value::unary_op op, 1635 unary_op (type_info& ti, octave_value::unary_op op,
1636 const octave_value& a); 1636 const octave_value& a);
1637 1637
1677 // an object. 1677 // an object.
1678 1678
1679 return colon_op (base, octave_value (), limit, is_for_cmd_expr); 1679 return colon_op (base, octave_value (), limit, is_for_cmd_expr);
1680 } 1680 }
1681 1681
1682 OCTAVE_NAMESPACE_END 1682 OCTAVE_END_NAMESPACE(octave)
1683 1683
1684 #define OV_UNOP_FN(name) \ 1684 #define OV_UNOP_FN(name) \
1685 inline octave_value \ 1685 inline octave_value \
1686 name (const octave_value& a) \ 1686 name (const octave_value& a) \
1687 { \ 1687 { \