Skip to content

Conversation

krlmlr
Copy link
Member

@krlmlr krlmlr commented Dec 7, 2024

From duckdb, see #401.

Fixes #308.

This is fairly severe.

@krlmlr krlmlr requested a review from DavisVaughan December 7, 2024 19:48
krlmlr added a commit to duckdb/duckdb-r that referenced this pull request Dec 7, 2024
r-lib/cpp11#423

This reverts commit 1b698e533ea7c7003cb610a5f5f7e5a47966c59d.
krlmlr added a commit to duckdb/duckdb-r that referenced this pull request Dec 7, 2024
* Revert "ifndef"

This reverts commit 9afb676.

* Revert "Reapply 782630b minus the whitespace changes"

This reverts commit f05d56c.

* Reapply "Revert a011d42"

This reverts commit fe615c4.

* Reapply "Revert fb18a2d"

This reverts commit 6f4979d.

* Vendor cpp11 0.5.1

* Add `prot` argument to `external_pointer()` constructor

r-lib/cpp11#420

This reverts commit abcae40e2aff8b1664098294959b8df743605737.

* END_CPP11_EX()

r-lib/cpp11#421

* Protection

r-lib/cpp11#422

This reverts commit 1e181e5e5c2cf0a21906b49dafe80364c8ca3f2b.

* External pointer premature release

r-lib/cpp11#423

This reverts commit 1b698e533ea7c7003cb610a5f5f7e5a47966c59d.
krlmlr added a commit to duckdb/duckdb-r that referenced this pull request Dec 8, 2024
* Revert "ifndef"

This reverts commit 9afb676.

* Revert "Reapply 782630b minus the whitespace changes"

This reverts commit f05d56c.

* Reapply "Revert a011d42"

This reverts commit fe615c4.

* Reapply "Revert fb18a2d"

This reverts commit 6f4979d.

* Vendor cpp11 0.5.1

* Add `prot` argument to `external_pointer()` constructor

r-lib/cpp11#420

This reverts commit abcae40e2aff8b1664098294959b8df743605737.

* END_CPP11_EX()

r-lib/cpp11#421

* Protection

r-lib/cpp11#422

This reverts commit 1e181e5e5c2cf0a21906b49dafe80364c8ca3f2b.

* External pointer premature release

r-lib/cpp11#423

This reverts commit 1b698e533ea7c7003cb610a5f5f7e5a47966c59d.
krlmlr added a commit to duckdb/duckdb-r that referenced this pull request Dec 8, 2024
* Revert "ifndef"

This reverts commit 9afb676.

* Revert "Reapply 782630b minus the whitespace changes"

This reverts commit f05d56c.

* Reapply "Revert a011d42"

This reverts commit fe615c4.

* Reapply "Revert fb18a2d"

This reverts commit 6f4979d.

* Vendor cpp11 0.5.1

* Add `prot` argument to `external_pointer()` constructor

r-lib/cpp11#420

This reverts commit abcae40e2aff8b1664098294959b8df743605737.

* END_CPP11_EX()

r-lib/cpp11#421

* Protection

r-lib/cpp11#422

This reverts commit 1e181e5e5c2cf0a21906b49dafe80364c8ca3f2b.

* External pointer premature release

r-lib/cpp11#423

This reverts commit 1b698e533ea7c7003cb610a5f5f7e5a47966c59d.
@pachadotdev
Copy link
Contributor

From duckdb, see #401.

This is fairly severe.

I found the same while porting magick

krlmlr added a commit to duckdb/duckdb-r that referenced this pull request Mar 9, 2025
r-lib/cpp11#423

This reverts commit 1b698e533ea7c7003cb610a5f5f7e5a47966c59d.
krlmlr added a commit to duckdb/duckdb-r that referenced this pull request Mar 9, 2025
* Revert "External pointer premature release"

This reverts commit d7886e3.

* Revert "Protection"

This reverts commit 4f4a3a8.

* Revert "END_CPP11_EX()"

This reverts commit aa3225d.

* Revert "Add `prot` argument to `external_pointer()` constructor"

This reverts commit d045ccf.

* Header

* Substance

* Add `prot` argument to `external_pointer()` constructor

r-lib/cpp11#420

This reverts commit abcae40e2aff8b1664098294959b8df743605737.

* END_CPP11_EX()

r-lib/cpp11#421

* Protection

r-lib/cpp11#422

This reverts commit 1e181e5e5c2cf0a21906b49dafe80364c8ca3f2b.

* External pointer premature release

r-lib/cpp11#423

This reverts commit 1b698e533ea7c7003cb610a5f5f7e5a47966c59d.
pachadotdev added a commit to pachadotdev/cpp4r that referenced this pull request Oct 1, 2025
@krlmlr
Copy link
Member Author

krlmlr commented Oct 2, 2025

@copilot: Add a test based on the linked issue #308.

@krlmlr
Copy link
Member Author

krlmlr commented Oct 2, 2025

I imagine that this would need a test. Copilot does not talk to me today, but I remember testing with the motivating example in #308, and the vendored and patched version of cpp11 works just fine for me.

@pachadotdev
Copy link
Contributor

I imagine that this would need a test. Copilot does not talk to me today, but I remember testing with the motivating example in #308, and the vendored and patched version of cpp11 works just fine for me.

hi!
I ended up creating cpp4r to add some corrections/features that are out scope based on the last email from Hadley

@pachadotdev
Copy link
Contributor

I imagine that this would need a test. Copilot does not talk to me today, but I remember testing with the motivating example in #308, and the vendored and patched version of cpp11 works just fine for me.

and you can vendor to src, I tagged you here pachadotdev/cpp4r@11afe2f

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

External pointers and attributes

2 participants