commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] [gnuradio] 01/04: runtime: remove deprecated gr_int* t


From: git
Subject: [Commit-gnuradio] [gnuradio] 01/04: runtime: remove deprecated gr_int* types #618
Date: Sun, 5 Apr 2015 23:58:09 +0000 (UTC)

This is an automated email from the git hooks/post-receive script.

jcorgan pushed a commit to branch next
in repository gnuradio.

commit b1dac97691bf721857b02b4a998580f4ae3aed82
Author: Jiří Pinkava <address@hidden>
Date:   Tue Mar 24 02:46:19 2015 +0100

    runtime: remove deprecated gr_int* types #618
    
    This also fixes posssible misuse of types.h from places where it was
    included before config.h
---
 gnuradio-runtime/include/gnuradio/types.h | 23 -----------------------
 1 file changed, 23 deletions(-)

diff --git a/gnuradio-runtime/include/gnuradio/types.h 
b/gnuradio-runtime/include/gnuradio/types.h
index 6cb0f72..c91538e 100644
--- a/gnuradio-runtime/include/gnuradio/types.h
+++ b/gnuradio-runtime/include/gnuradio/types.h
@@ -37,29 +37,6 @@ typedef std::vector<double>                  
gr_vector_double;
 typedef std::vector<void *>                    gr_vector_void_star;
 typedef std::vector<const void *>              gr_vector_const_void_star;
 
-/*
- * #include <config.h> must be placed beforehand
- * in the source file including gnuradio/types.h for
- * the following to work correctly
- */
-#ifdef HAVE_STDINT_H
 #include <stdint.h>
-typedef int16_t                        gr_int16;
-typedef int32_t                        gr_int32;
-typedef int64_t                        gr_int64;
-typedef uint16_t               gr_uint16;
-typedef uint32_t               gr_uint32;
-typedef uint64_t               gr_uint64;
-#else
-/*
- * Note: these defaults may be wrong on 64-bit systems
- */
-typedef short                  gr_int16;
-typedef int                    gr_int32;
-typedef long long              gr_int64;
-typedef unsigned short                 gr_uint16;
-typedef unsigned int                   gr_uint32;
-typedef unsigned long long     gr_uint64;
-#endif /* HAVE_STDINT_H */
 
 #endif /* INCLUDED_GR_TYPES_H */



reply via email to

[Prev in Thread] Current Thread [Next in Thread]