From 71fb061ed20525dceb3147c7333fdeec0c07fb0b Mon Sep 17 00:00:00 2001 From: Ali Somay Date: Thu, 28 Nov 2024 15:52:41 +0100 Subject: [PATCH] Update libpd submodule to latest commit on extended branch --- build.rs | 1 + libpd | 2 +- wrapper.h | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/build.rs b/build.rs index 6be3c2d..42d03c0 100644 --- a/build.rs +++ b/build.rs @@ -240,6 +240,7 @@ fn main() { .clang_arg(format!("-I{}", libpd_wrapper_dir.to_str().unwrap())) .clang_arg(format!("-I{}", pd_source.to_str().unwrap())) .clang_arg(format!("-DPD_FLOATSIZE={PD_FLOATSIZE}")) + .clang_arg("-DPD_INTERNAL=0") // Undefine PD_INTERNAL because it is not needed for bindings and cmake complains about it. // Tell cargo to invalidate the built crate whenever any of the // included header files changed. .parse_callbacks(Box::new(bindgen::CargoCallbacks::new())); diff --git a/libpd b/libpd index a24ec99..0192dfb 160000 --- a/libpd +++ b/libpd @@ -1 +1 @@ -Subproject commit a24ec99e604c92cc87741a6c762cfdb15fb96613 +Subproject commit 0192dfb68607e0c37f87f7f5e8e7a531ed4fffd7 diff --git a/wrapper.h b/wrapper.h index 72f088f..1f0ddf9 100644 --- a/wrapper.h +++ b/wrapper.h @@ -21,7 +21,7 @@ // Headers in libpd_wrapper -#include "libpd/libpd_wrapper/util/ringbuffer.h" +#include "libpd/libpd_wrapper/util/z_ringbuffer.h" #include "libpd/libpd_wrapper/util/z_print_util.h" #include "libpd/libpd_wrapper/util/z_queued.h" #include "libpd/libpd_wrapper/z_hooks.h"