GNU Radio Manual and C++ API Reference 3.9.4.0
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
17GR_RUNTIME_API unsigned int gr_rounduppow2(unsigned int n);
18
19// FIXME should be template
20GR_RUNTIME_API void gr_zero_vector(std::vector<float>& v);
21GR_RUNTIME_API void gr_zero_vector(std::vector<double>& v);
22GR_RUNTIME_API void gr_zero_vector(std::vector<int>& v);
23GR_RUNTIME_API void gr_zero_vector(std::vector<gr_complex>& v);
24
25
26#endif /* INCLUDED_GR_MISC_H */
#define GR_RUNTIME_API
Definition: gnuradio-runtime/include/gnuradio/api.h:18
GR_RUNTIME_API void gr_zero_vector(std::vector< float > &v)
GR_RUNTIME_API unsigned int gr_rounduppow2(unsigned int n)
Definition: cc_common.h:35