lvsti / CEF.swift

Swift bindings for the Chromium Embedded Framework
BSD 3-Clause "New" or "Revised" License
94 stars 29 forks source link

Eliminate pointer magic #27

Closed lvsti closed 6 years ago

lvsti commented 6 years ago

The current marshalling implementation relies on a dangerous assumption about class memory layout (see CEFMarshaller.swift), which can break without notice from one Swift version to another. This logic should be replaced with an ABI-agnostic solution ASAP, preferably without sacrificing performance.

lvsti commented 6 years ago

a79da9fc2688af24ce54b0d8c44cc26996af5a29

not ideal but gets the job done