21 lines
378 B
Go
21 lines
378 B
Go
|
package action
|
||
|
|
||
|
import (
|
||
|
. "ios-wrapper/internal/wrapper/ofile"
|
||
|
)
|
||
|
|
||
|
type removeImports struct{}
|
||
|
|
||
|
func (action *removeImports) withMacho(mf *MachoFile) error {
|
||
|
mf.Context().RemoveBindSymbols()
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (action *removeImports) withFat(ff *FatFile) error {
|
||
|
return defaultWithFat(action, ff)
|
||
|
}
|
||
|
|
||
|
func NewRemoveImportsAction() *removeImports {
|
||
|
return &removeImports{}
|
||
|
}
|