Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BrowserEngineKit] Implement this new framework. #21168

Merged
merged 6 commits into from
Sep 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions src/BrowserEngineKit/BEStructs.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#if NET
using System;
using System.Diagnostics.CodeAnalysis;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;

namespace BrowserEngineKit {
#if IOS || MACCATALYST || TVOS
[SupportedOSPlatform ("ios17.4")]
[SupportedOSPlatform ("maccatalyst17.4")]
[SupportedOSPlatform ("tvos17.4")]
[UnsupportedOSPlatform ("macos")]
[StructLayout (LayoutKind.Sequential)]
public struct BEDirectionalTextRange
{
public nint Offset;
public nint Length;
}
#endif // __IOS__ || __MACCATALYST__
}
#endif // NET
1 change: 1 addition & 0 deletions src/Foundation/NSObject.mac.cs
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ public partial class NSObject {
static IntPtr cr = Dlfcn.dlopen (Constants.CryptoTokenKitLibrary, 1);
static IntPtr dd = Dlfcn.dlopen (Constants.DeviceDiscoveryExtensionLibrary, 1);
static IntPtr fk = Dlfcn.dlopen (Constants.FSKitLibrary, 1);
static IntPtr be = Dlfcn.dlopen (Constants.BrowserEngineKitLibrary, 1);

#if !NET
[Obsolete ("Use PlatformAssembly for easier code sharing across platforms.")]
Expand Down
Loading