use dot shorthands where possible in generate script
This commit is contained in:
parent
3d7ef9b32f
commit
c105a6035c
1 changed files with 2 additions and 2 deletions
|
|
@ -11,12 +11,12 @@ void main(List<String> args) async {
|
|||
|
||||
final libclangPath = Platform.environment["LIBCLANG_PATH"];
|
||||
FfiGenerator(
|
||||
output: Output(
|
||||
output: .new(
|
||||
dart: .new(
|
||||
path: Platform.script.resolve("../lib/src/third_party/gomuks.g.dart"),
|
||||
),
|
||||
),
|
||||
visitors: [Visitor(func: (node) => node.isIncluded = true)],
|
||||
visitors: [.new(func: (node) => node.isIncluded = true)],
|
||||
input: .new(
|
||||
entryPoints: [File(join(repoDir.path, "pkg", "ffi", "gomuksffi.h")).uri],
|
||||
compilerOptions: [
|
||||
|
|
|
|||
Loading…
Reference in a new issue