-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use macos arm runner, update base interface to 0.0.24, LLVM 17(!) fix…
…es (#270) * Try out M1 runners * Update base version to 0.0.24 * Base LLVM 17 for discovery, use local bindgen for libclang generation * Regenerate libclang bindings and adjust imports * Handle anonymous types correctly according to LLVM 17 * Handle structs with unnamed fields by excluding them entirely * Don't check formatting of generated sources
- Loading branch information
Showing
25 changed files
with
4,509 additions
and
4,331 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,8 @@ | ||
package bindgen | ||
|
||
import bindgen.CType.Parameter | ||
import scala.collection.mutable | ||
import scala.collection.mutable.ListBuffer | ||
import scala.scalanative.unsafe.Tag | ||
import scala.scalanative.unsigned.ULong | ||
import Def.* | ||
import CType.* | ||
enum DefTag: | ||
case Union, Alias, Struct, Function, Enum | ||
|
||
object DefTag: | ||
import DefTag.* | ||
def all = Set(Union, Alias, Struct, Function, Enum) | ||
|
||
enum DefTag: | ||
case Union, Alias, Struct, Function, Enum |
3 changes: 1 addition & 2 deletions
3
modules/bindgen/src/main/scala/analysis/BindingGenerator.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 0 additions & 5 deletions
5
modules/bindgen/src/main/scala/analysis/SystemHeaderDetector.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 0 additions & 6 deletions
6
modules/bindgen/src/main/scala/analysis/addBuiltinAliases.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.