[PR #1349] [MERGED] Cleanup declarations of {S,U}Int{8,16,32} types #1788

Closed
opened 2026-05-05 08:01:54 -06:00 by gitea-mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/debauchee/barrier/pull/1349
Author: @p12tic
Created: 11/1/2021
Status: Merged
Merged: 11/1/2021
Merged by: @p12tic

Base: masterHead: types-cleanup


📝 Commits (2)

  • 676fa39 lib/platform: Switch remaining ObjC source files to ObjC++
  • 20f66fe lib/common: Clean up declarations of {S,U}Int{8,16,32} types

📊 Changes

11 files changed (+15 additions, -74 deletions)

View changed files

📝 src/lib/barrier/Chunk.h (+1 -1)
📝 src/lib/barrier/key_types.cpp (+1 -0)
📝 src/lib/common/basic_types.h (+7 -56)
📝 src/lib/common/common.h (+0 -13)
📝 src/lib/io/StreamBuffer.cpp (+2 -0)
📝 src/lib/platform/OSXDragSimulator.mm (+0 -0)
📝 src/lib/platform/OSXDragView.mm (+0 -0)
📝 src/lib/platform/OSXMediaKeySimulator.mm (+2 -2)
📝 src/lib/platform/OSXMediaKeySupport.mm (+2 -2)
📝 src/lib/platform/OSXPasteboardPeeker.mm (+0 -0)
📝 src/lib/platform/OSXScreenSaverUtil.mm (+0 -0)

📄 Description

Instead of trying to reinvent the wheel of detecting platform properties just add typedefs for types from cstdint C++ header. Several ObjC sources needed switching to ObjC++ as a result.


🔄 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/debauchee/barrier/pull/1349 **Author:** [@p12tic](https://github.com/p12tic) **Created:** 11/1/2021 **Status:** ✅ Merged **Merged:** 11/1/2021 **Merged by:** [@p12tic](https://github.com/p12tic) **Base:** `master` ← **Head:** `types-cleanup` --- ### 📝 Commits (2) - [`676fa39`](https://github.com/debauchee/barrier/commit/676fa39f9ade5d89c5f5e70015025267afc4b84f) lib/platform: Switch remaining ObjC source files to ObjC++ - [`20f66fe`](https://github.com/debauchee/barrier/commit/20f66fe1332057c2338179a700527142e778b874) lib/common: Clean up declarations of {S,U}Int{8,16,32} types ### 📊 Changes **11 files changed** (+15 additions, -74 deletions) <details> <summary>View changed files</summary> 📝 `src/lib/barrier/Chunk.h` (+1 -1) 📝 `src/lib/barrier/key_types.cpp` (+1 -0) 📝 `src/lib/common/basic_types.h` (+7 -56) 📝 `src/lib/common/common.h` (+0 -13) 📝 `src/lib/io/StreamBuffer.cpp` (+2 -0) 📝 `src/lib/platform/OSXDragSimulator.mm` (+0 -0) 📝 `src/lib/platform/OSXDragView.mm` (+0 -0) 📝 `src/lib/platform/OSXMediaKeySimulator.mm` (+2 -2) 📝 `src/lib/platform/OSXMediaKeySupport.mm` (+2 -2) 📝 `src/lib/platform/OSXPasteboardPeeker.mm` (+0 -0) 📝 `src/lib/platform/OSXScreenSaverUtil.mm` (+0 -0) </details> ### 📄 Description Instead of trying to reinvent the wheel of detecting platform properties just add typedefs for types from `cstdint` C++ header. Several ObjC sources needed switching to ObjC++ as a result. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
gitea-mirror 2026-05-05 08:01:54 -06: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: github-starred/barrier#1788
No description provided.