[PR #2597] [CLOSED] Make callbacks parameters type-safe #2655

Closed
opened 2026-03-04 02:06:38 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/s3fs-fuse/s3fs-fuse/pull/2597
Author: @gaul
Created: 11/7/2024
Status: Closed

Base: masterHead: callback-param


📝 Commits (1)

  • d977e31 Make callbacks parameters type-safe

📊 Changes

5 files changed (+28 additions, -51 deletions)

View changed files

📝 src/curl.cpp (+6 -6)
📝 src/curl.h (+3 -3)
📝 src/curl_multi.cpp (+5 -19)
📝 src/curl_multi.h (+4 -8)
📝 src/s3fs.cpp (+10 -15)

📄 Description

Instead of storing and passing void pointers, lambdas can capture additional parameters.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/s3fs-fuse/s3fs-fuse/pull/2597 **Author:** [@gaul](https://github.com/gaul) **Created:** 11/7/2024 **Status:** ❌ Closed **Base:** `master` ← **Head:** `callback-param` --- ### 📝 Commits (1) - [`d977e31`](https://github.com/s3fs-fuse/s3fs-fuse/commit/d977e3148f09e801bb4f5288d81e3dcff9f85ead) Make callbacks parameters type-safe ### 📊 Changes **5 files changed** (+28 additions, -51 deletions) <details> <summary>View changed files</summary> 📝 `src/curl.cpp` (+6 -6) 📝 `src/curl.h` (+3 -3) 📝 `src/curl_multi.cpp` (+5 -19) 📝 `src/curl_multi.h` (+4 -8) 📝 `src/s3fs.cpp` (+10 -15) </details> ### 📄 Description Instead of storing and passing void pointers, lambdas can capture additional parameters. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-04 02:06:38 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/s3fs-fuse#2655
No description provided.