Print this page
Address Robert's feedback

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libsysdemangle/common/cpp.h
          +++ new/usr/src/lib/libsysdemangle/common/cxx.h
↓ open down ↓ 34 lines elided ↑ open up ↑
  35   35  
  36   36  void name_clear(name_t *);
  37   37  void name_init(name_t *, sysdem_ops_t *);
  38   38  void name_fini(name_t *);
  39   39  size_t name_len(const name_t *);
  40   40  boolean_t name_empty(const name_t *);
  41   41  boolean_t name_add(name_t *, const char *, size_t, const char *, size_t);
  42   42  boolean_t name_add_str(name_t *, str_t *, str_t *);
  43   43  boolean_t name_join(name_t *, size_t, const char *);
  44   44  boolean_t name_fmt(name_t *, const char *, const char *);
  45      -str_pair_t *name_at(name_t *, size_t);
       45 +str_pair_t *name_at(const name_t *, size_t);
  46   46  str_pair_t *name_top(name_t *);
  47      -str_pair_t *name_pop(name_t *, str_pair_t *);
       47 +void name_pop(name_t *, str_pair_t *);
  48   48  
  49   49  typedef struct sub_s {
  50   50          name_t          *sub_items;
  51   51          sysdem_ops_t    *sub_ops;
  52   52          size_t          sub_len;
  53   53          size_t          sub_size;
  54   54  } sub_t;
  55   55  
  56   56  void sub_clear(sub_t *);
  57   57  void sub_init(sub_t *, sysdem_ops_t *);
↓ open down ↓ 30 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX