File: cpl_vector_impl.h

package info (click to toggle)
cpl 7.2.3%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 15,312 kB
  • sloc: ansic: 141,047; javascript: 6,382; sh: 4,452; makefile: 660
file content (53 lines) | stat: -rw-r--r-- 1,531 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
/*
 * This file is part of the ESO Common Pipeline Library
 * Copyright (C) 2001-2022 European Southern Observatory
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 */

#ifndef CPL_VECTOR_IMPL_H
#define CPL_VECTOR_IMPL_H

#include "cpl_vector.h"

CPL_BEGIN_DECLS

double *cpl_vector_rewrap(cpl_vector *, cpl_size, double *);

cpl_size
cpl_vector_get_size_(const cpl_vector *) CPL_ATTR_PURE CPL_ATTR_NONNULL;

double *cpl_vector_get_data_(cpl_vector *)
#ifdef NDEBUG
    CPL_ATTR_PURE
#endif
    CPL_ATTR_NONNULL;

const double *cpl_vector_get_data_const_(const cpl_vector *)
#ifdef NDEBUG
    CPL_ATTR_PURE
#endif
    CPL_ATTR_NONNULL;

double cpl_vector_get_(const cpl_vector *, cpl_size)
#ifdef NDEBUG
    CPL_ATTR_PURE
#endif
    CPL_ATTR_NONNULL;

void cpl_vector_set_(cpl_vector *, cpl_size, double) CPL_ATTR_NONNULL;

#endif
/* end of cpl_vector_impl.h */