~vcs-imports/felix/trunk

« back to all changes in this revision

Viewing changes to lpsrc/flx_gc.pak

  • Committer: skaller
  • Date: 2007-05-05 19:52:18 UTC
  • Revision ID: vcs-imports@canonical.com-20070505195218-at22w5qyblhsz902
Change gc_shape_t to be a POD without a constructor

Show diffs side-by-side

added added

removed removed

Lines of Context:
53
53
@select(h)
54
54
Name: flx_gc
55
55
Description: Felix default garbage collector
56
 
Version: $Id: flx_gc.pak 1413 2007-05-01 17:47:27Z rfistman $
 
56
Version: $Id: flx_gc.pak 1419 2007-05-05 19:52:18Z skaller $
57
57
@if HAVE_MSVC:
58
58
   tangle("provides_dlib: /DEFAULTLIB:libflx_gc_dynamic")
59
59
   tangle("provides_slib: /DEFAULTLIB:libflx_gc_static")
112
112
  std::size_t n_offsets;          ///< number of offsets
113
113
  std::size_t *offsets;           ///< actual offsets
114
114
  gc_shape_flags_t flags;         ///< flags
 
115
#if 0
115
116
  // convenience constructor
116
117
  gc_shape_t(
117
118
    gc_shape_t *ns,
132
133
    std::size_t *offsets_a,
133
134
    gc_shape_flags_t flags_a
134
135
  );
 
136
#endif
135
137
};
136
138
@doc()
137
139
The following template is provided as a standard wrapper
432
434
namespace gc {
433
435
namespace generic {
434
436
 
 
437
#if 0
435
438
// create a shape object given an array of offsets
436
439
gc_shape_t::gc_shape_t
437
440
(
476
479
  offsets(offsets_a),
477
480
  flags(gc_flags_default)
478
481
{}
 
482
#endif
479
483
 
480
484
void destroy(void *p)
481
485
{