AddIncludedMacros allow-lists one or more macros by function name. Note, this option will override any excluded macros.
(macros ...string)
| 665 | // |
| 666 | // Note, this option will override any excluded macros. |
| 667 | func (lib *LibrarySubset) AddIncludedMacros(macros ...string) *LibrarySubset { |
| 668 | lib.IncludeMacros = append(lib.IncludeMacros, macros...) |
| 669 | return lib |
| 670 | } |
| 671 | |
| 672 | // AddExcludedMacros deny-lists one or more macros by function name. |
| 673 | func (lib *LibrarySubset) AddExcludedMacros(macros ...string) *LibrarySubset { |
no outgoing calls