Project

General

Profile

Actions

Feature #305

open

fundamental vector type

Added by Joerg Behrens over 11 years ago. Updated over 9 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Start date:
10/15/2012
Due date:
% Done:

10%

Estimated time:

Description

It might be useful to have a fundamental vector type

struct vec_DATA_TYPE { int n; int cap; DATA_TYPE *p;};

in order to simplify the code, e.g. to reduce the number of arguments when vector-like information is passed (DATA_TYPE *p, n)

Actions #1

Updated by Thomas Jahns over 9 years ago

  • % Done changed from 0 to 10

commit:0fb2c5e38479301988ee48d80e7ef04473cb5f60 add this for position extents (struct Xt_pos_ext -> struct Xt_pos_ext_vec) (see source:src/xt_cover.h@0fb2c5e38479301988ee48d80e7ef04473cb5f60#L58, commit:13726249d9431b04008b5513a3483c81bb0a495f does the same for int (struct int_vec, see source:src/xt_idxstripes.c@13726249d9431b04008b5513a3483c81bb0a495f#L996). This could be used as a model perhaps.

Actions

Also available in: Atom PDF