[gimp-perl] update to PDL 2.064 pdlnew as equivalent to null
- From: Ed J <edj src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp-perl] update to PDL 2.064 pdlnew as equivalent to null
- Date: Tue, 11 Jan 2022 09:08:36 +0000 (UTC)
commit 9fb15db25160af9f465cfd976147250063d5adc1
Author: Ed J <mohawk2 users noreply github com>
Date: Tue Jan 11 09:06:38 2022 +0000
update to PDL 2.064 pdlnew as equivalent to null
Changes | 2 ++
Makefile.PL | 2 +-
lib/Gimp/Lib.xs | 2 +-
3 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/Changes b/Changes
index b45246c..8235bfc 100644
--- a/Changes
+++ b/Changes
@@ -1,3 +1,5 @@
+- update to PDL 2.064 pdlnew as equivalent to null
+
2.36 2021-12-21
- update to PDL 2.063_01 affine_new API
diff --git a/Makefile.PL b/Makefile.PL
index 974e1cd..dc3154b 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -38,7 +38,7 @@ my $pkg = eval {
my $runtime_reqs = {
'Gtk2' => 1.0,
- 'PDL' => '2.063_01', # affine_new non-SV input
+ 'PDL' => '2.064', # pdlnew returns viable null
'Data::Dumper' => 2.0,
'IO::All' => 0,
'Gtk2::Ex::PodViewer' => 0,
diff --git a/lib/Gimp/Lib.xs b/lib/Gimp/Lib.xs
index 4fccdfc..32fe2e2 100644
--- a/lib/Gimp/Lib.xs
+++ b/lib/Gimp/Lib.xs
@@ -103,7 +103,7 @@ static void pixel_rgn_pdl_delete_data (pdl *p, size_t param)
static pdl *redim_pdl (pdl *p, int ndim, int newsize)
{
- pdl *r = PDL->null ();
+ pdl *r = PDL->pdlnew();
PDL_Indx dims[p->ndims], i; /* copy so as to modify */
for (i = 0; i < p->ndims; i++) dims[i] = p->dims[i];
dims[ndim] = newsize;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]