GNU Radio Manual and C++ API Reference
v3.9.2.0-89-gb7c7001e
The Free & Open Software Radio Ecosystem
misc.h
Go to the documentation of this file.
1
/* -*- c++ -*- */
2
/*
3
* Copyright 2005 Free Software Foundation, Inc.
4
*
5
* This file is part of GNU Radio
6
*
7
* SPDX-License-Identifier: GPL-3.0-or-later
8
*
9
*/
10
11
#ifndef INCLUDED_GR_MISC_H
12
#define INCLUDED_GR_MISC_H
13
14
#include <
gnuradio/api.h
>
15
#include <
gnuradio/types.h
>
16
17
GR_RUNTIME_API
unsigned
int
gr_rounduppow2
(
unsigned
int
n);
18
19
// FIXME should be template
20
GR_RUNTIME_API
void
gr_zero_vector
(std::vector<float>&
v
);
21
GR_RUNTIME_API
void
gr_zero_vector
(std::vector<double>&
v
);
22
GR_RUNTIME_API
void
gr_zero_vector
(std::vector<int>&
v
);
23
GR_RUNTIME_API
void
gr_zero_vector
(std::vector<gr_complex>&
v
);
24
25
26
#endif
/* INCLUDED_GR_MISC_H */
api.h
GR_RUNTIME_API
#define GR_RUNTIME_API
Definition:
gnuradio-runtime/include/gnuradio/api.h:18
gr_zero_vector
GR_RUNTIME_API void gr_zero_vector(std::vector< float > &v)
gr_rounduppow2
GR_RUNTIME_API unsigned int gr_rounduppow2(unsigned int n)
v
Definition:
cc_common.h:35
types.h
gnuradio-runtime
include
gnuradio
misc.h
Generated by
1.9.1