-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove noisy line and file macros from generation
- Loading branch information
Showing
4 changed files
with
6 additions
and
12 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
Binary file not shown.
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 |
---|---|---|
|
@@ -19,7 +19,11 @@ function Get-ObsClassName { | |
|
||
$config = "multi-file", "generate-file-scoped-namespaces", "generate-helper-types", "exclude-funcs-with-body", "generate-macro-bindings", "latest-codegen" | ||
$replacements = "[email protected]", "[email protected]", "[email protected]", "half=@Half", "[email protected]<Single>", "[email protected]", "_iobuf*=@nint","stat*=@nint" | ||
$excludes = "blogva", "blog", "ARCH_BITS" | ||
$excludes = @( | ||
"blogva", "blog", <# this method uses __arglist (variable argument list in C) but it is not fully supported in .NET (e.g. on Linux it just crashes) #> | ||
"ARCH_BITS", <# manually implemented for .NET #> | ||
"S__LINE__", "INT_CUR_LINE", "FILE_LINE" <# macroses for line and file in C, doesnt't work well in C# #> | ||
) | ||
|
||
$obsModuleTracersals = @( | ||
".\obs-studio\libobs\obs-source.h", | ||
|