From 3165f73d7c6224523957fa69beade6069efea6ef Mon Sep 17 00:00:00 2001
From: mormj <34754695+mormj@users.noreply.github.com>
Date: Fri, 22 May 2020 14:21:09 -0400
Subject: pybind: add hash check to binding file creation (#3472)

---
 gr-fft/python/fft/bindings/CMakeLists.txt               |  2 +-
 gr-fft/python/fft/bindings/ctrlport_probe_psd_python.cc | 10 +++++++++-
 gr-fft/python/fft/bindings/fft_python.cc                | 10 +++++++++-
 gr-fft/python/fft/bindings/fft_shift_python.cc          | 10 +++++++++-
 gr-fft/python/fft/bindings/fft_vcc_python.cc            | 10 +++++++++-
 gr-fft/python/fft/bindings/fft_vfc_python.cc            | 10 +++++++++-
 gr-fft/python/fft/bindings/goertzel_fc_python.cc        | 10 +++++++++-
 gr-fft/python/fft/bindings/goertzel_python.cc           | 10 +++++++++-
 gr-fft/python/fft/bindings/window_python.cc             | 10 +++++++++-
 9 files changed, 73 insertions(+), 9 deletions(-)

(limited to 'gr-fft/python')

diff --git a/gr-fft/python/fft/bindings/CMakeLists.txt b/gr-fft/python/fft/bindings/CMakeLists.txt
index ab1e903bfc..4ca22cf43e 100644
--- a/gr-fft/python/fft/bindings/CMakeLists.txt
+++ b/gr-fft/python/fft/bindings/CMakeLists.txt
@@ -15,7 +15,7 @@ list(APPEND fft_python_files
     window_python.cc
     python_bindings.cc)
 
-GR_PYBIND_MAKE(fft 
+GR_PYBIND_MAKE_CHECK_HASH(fft 
    ../../.. 
    gr::fft
    "${fft_python_files}")
diff --git a/gr-fft/python/fft/bindings/ctrlport_probe_psd_python.cc b/gr-fft/python/fft/bindings/ctrlport_probe_psd_python.cc
index 2b9ba14c24..e0ab5da76f 100644
--- a/gr-fft/python/fft/bindings/ctrlport_probe_psd_python.cc
+++ b/gr-fft/python/fft/bindings/ctrlport_probe_psd_python.cc
@@ -7,7 +7,15 @@
  *
  */
 
-/* This file is automatically generated using bindtool */
+/***********************************************************************************/
+/* This file is automatically generated using bindtool and can be manually edited  */
+/* The following lines can be configured to regenerate this file during cmake      */
+/* If manual edits are made, the following tags should be modified accordingly.    */
+/* BINDTOOL_GEN_AUTOMATIC(0)                                                       */
+/* BINDTOOL_USE_PYGCCXML(0)                                                        */
+/* BINDTOOL_HEADER_FILE(ctrlport_probe_psd.h)                                        */
+/* BINDTOOL_HEADER_FILE_HASH(c459d4fb223fee8425848ca9a45d401b)                     */
+/***********************************************************************************/
 
 #include <pybind11/complex.h>
 #include <pybind11/pybind11.h>
diff --git a/gr-fft/python/fft/bindings/fft_python.cc b/gr-fft/python/fft/bindings/fft_python.cc
index 054863255c..9e8a4e889a 100644
--- a/gr-fft/python/fft/bindings/fft_python.cc
+++ b/gr-fft/python/fft/bindings/fft_python.cc
@@ -7,7 +7,15 @@
  *
  */
 
-/* This file is automatically generated using bindtool */
+/***********************************************************************************/
+/* This file is automatically generated using bindtool and can be manually edited  */
+/* The following lines can be configured to regenerate this file during cmake      */
+/* If manual edits are made, the following tags should be modified accordingly.    */
+/* BINDTOOL_GEN_AUTOMATIC(0)                                                       */
+/* BINDTOOL_USE_PYGCCXML(0)                                                        */
+/* BINDTOOL_HEADER_FILE(fft.h)                                        */
+/* BINDTOOL_HEADER_FILE_HASH(4402b26d42b6210cd744a09ce7f6ffd6)                     */
+/***********************************************************************************/
 
 #include <pybind11/complex.h>
 #include <pybind11/pybind11.h>
diff --git a/gr-fft/python/fft/bindings/fft_shift_python.cc b/gr-fft/python/fft/bindings/fft_shift_python.cc
index 7795f2bc15..fa39163102 100644
--- a/gr-fft/python/fft/bindings/fft_shift_python.cc
+++ b/gr-fft/python/fft/bindings/fft_shift_python.cc
@@ -7,7 +7,15 @@
  *
  */
 
-/* This file is automatically generated using bindtool */
+/***********************************************************************************/
+/* This file is automatically generated using bindtool and can be manually edited  */
+/* The following lines can be configured to regenerate this file during cmake      */
+/* If manual edits are made, the following tags should be modified accordingly.    */
+/* BINDTOOL_GEN_AUTOMATIC(0)                                                       */
+/* BINDTOOL_USE_PYGCCXML(0)                                                        */
+/* BINDTOOL_HEADER_FILE(fft_shift.h)                                        */
+/* BINDTOOL_HEADER_FILE_HASH(bf8f34cab55b363429d6445dbe6862d1)                     */
+/***********************************************************************************/
 
 #include <pybind11/complex.h>
 #include <pybind11/pybind11.h>
diff --git a/gr-fft/python/fft/bindings/fft_vcc_python.cc b/gr-fft/python/fft/bindings/fft_vcc_python.cc
index 958a70a2ff..66c21c2db1 100644
--- a/gr-fft/python/fft/bindings/fft_vcc_python.cc
+++ b/gr-fft/python/fft/bindings/fft_vcc_python.cc
@@ -7,7 +7,15 @@
  *
  */
 
-/* This file is automatically generated using bindtool */
+/***********************************************************************************/
+/* This file is automatically generated using bindtool and can be manually edited  */
+/* The following lines can be configured to regenerate this file during cmake      */
+/* If manual edits are made, the following tags should be modified accordingly.    */
+/* BINDTOOL_GEN_AUTOMATIC(0)                                                       */
+/* BINDTOOL_USE_PYGCCXML(0)                                                        */
+/* BINDTOOL_HEADER_FILE(fft_vcc.h)                                        */
+/* BINDTOOL_HEADER_FILE_HASH(815bbb036e65e51800b2732772a9eaeb)                     */
+/***********************************************************************************/
 
 #include <pybind11/complex.h>
 #include <pybind11/pybind11.h>
diff --git a/gr-fft/python/fft/bindings/fft_vfc_python.cc b/gr-fft/python/fft/bindings/fft_vfc_python.cc
index a80f2176c0..d8faefec65 100644
--- a/gr-fft/python/fft/bindings/fft_vfc_python.cc
+++ b/gr-fft/python/fft/bindings/fft_vfc_python.cc
@@ -7,7 +7,15 @@
  *
  */
 
-/* This file is automatically generated using bindtool */
+/***********************************************************************************/
+/* This file is automatically generated using bindtool and can be manually edited  */
+/* The following lines can be configured to regenerate this file during cmake      */
+/* If manual edits are made, the following tags should be modified accordingly.    */
+/* BINDTOOL_GEN_AUTOMATIC(0)                                                       */
+/* BINDTOOL_USE_PYGCCXML(0)                                                        */
+/* BINDTOOL_HEADER_FILE(fft_vfc.h)                                        */
+/* BINDTOOL_HEADER_FILE_HASH(4de2f3aa3119e3d636a1a533974a2e95)                     */
+/***********************************************************************************/
 
 #include <pybind11/complex.h>
 #include <pybind11/pybind11.h>
diff --git a/gr-fft/python/fft/bindings/goertzel_fc_python.cc b/gr-fft/python/fft/bindings/goertzel_fc_python.cc
index 936b98aaa7..849bed72dd 100644
--- a/gr-fft/python/fft/bindings/goertzel_fc_python.cc
+++ b/gr-fft/python/fft/bindings/goertzel_fc_python.cc
@@ -7,7 +7,15 @@
  *
  */
 
-/* This file is automatically generated using bindtool */
+/***********************************************************************************/
+/* This file is automatically generated using bindtool and can be manually edited  */
+/* The following lines can be configured to regenerate this file during cmake      */
+/* If manual edits are made, the following tags should be modified accordingly.    */
+/* BINDTOOL_GEN_AUTOMATIC(0)                                                       */
+/* BINDTOOL_USE_PYGCCXML(0)                                                        */
+/* BINDTOOL_HEADER_FILE(goertzel_fc.h)                                        */
+/* BINDTOOL_HEADER_FILE_HASH(4bed76c1708616efa30a68810d684540)                     */
+/***********************************************************************************/
 
 #include <pybind11/complex.h>
 #include <pybind11/pybind11.h>
diff --git a/gr-fft/python/fft/bindings/goertzel_python.cc b/gr-fft/python/fft/bindings/goertzel_python.cc
index 79bc725636..942171e0c5 100644
--- a/gr-fft/python/fft/bindings/goertzel_python.cc
+++ b/gr-fft/python/fft/bindings/goertzel_python.cc
@@ -7,7 +7,15 @@
  *
  */
 
-/* This file is automatically generated using bindtool */
+/***********************************************************************************/
+/* This file is automatically generated using bindtool and can be manually edited  */
+/* The following lines can be configured to regenerate this file during cmake      */
+/* If manual edits are made, the following tags should be modified accordingly.    */
+/* BINDTOOL_GEN_AUTOMATIC(0)                                                       */
+/* BINDTOOL_USE_PYGCCXML(0)                                                        */
+/* BINDTOOL_HEADER_FILE(goertzel.h)                                        */
+/* BINDTOOL_HEADER_FILE_HASH(644b34ffcd5637d7cc2b9a4ba703743b)                     */
+/***********************************************************************************/
 
 #include <pybind11/complex.h>
 #include <pybind11/pybind11.h>
diff --git a/gr-fft/python/fft/bindings/window_python.cc b/gr-fft/python/fft/bindings/window_python.cc
index f331ac339c..dcd770b95e 100644
--- a/gr-fft/python/fft/bindings/window_python.cc
+++ b/gr-fft/python/fft/bindings/window_python.cc
@@ -7,7 +7,15 @@
  *
  */
 
-/* This file is automatically generated using bindtool */
+/***********************************************************************************/
+/* This file is automatically generated using bindtool and can be manually edited  */
+/* The following lines can be configured to regenerate this file during cmake      */
+/* If manual edits are made, the following tags should be modified accordingly.    */
+/* BINDTOOL_GEN_AUTOMATIC(0)                                                       */
+/* BINDTOOL_USE_PYGCCXML(0)                                                        */
+/* BINDTOOL_HEADER_FILE(window.h)                                        */
+/* BINDTOOL_HEADER_FILE_HASH(a2896456164142169fe7717e5f6570fc)                     */
+/***********************************************************************************/
 
 #include <pybind11/complex.h>
 #include <pybind11/pybind11.h>
-- 
cgit v1.2.3