add templated patch
This commit is contained in:
1
pkg/types/omp/InputFun.go
Normal file
1
pkg/types/omp/InputFun.go
Normal file
@ -0,0 +1 @@
|
||||
pacjage
|
@ -20,8 +20,8 @@ func (s OMP) Build() []byte {
|
||||
}
|
||||
|
||||
type Data struct {
|
||||
Intro []byte
|
||||
LibFor []byte
|
||||
Intro []byte
|
||||
LibFor []byte
|
||||
CurrentPersistent []byte
|
||||
}
|
||||
|
||||
@ -42,9 +42,10 @@ func (s *Data) SetLibFor() {
|
||||
}
|
||||
|
||||
func (s *Data) SetOMCurrentPersistent(kind string, name string) {
|
||||
s.CurrentPersistent = []byte(fmt.Sprintf("(setf *om-current-persistent* (%s \"%s\" (quote nil) (quote nil) nil 6.19))", kind, name))
|
||||
s.CurrentPersistent = []byte(fmt.Sprintf("(setf *om-current-persistent* (%s \"%s\" () (quote nil) nil 6.19))", kind, name))
|
||||
}
|
||||
|
||||
func (s *Data) GetOMCurrentPersistent() []byte{
|
||||
func (s *Data) GetOMCurrentPersistent() []byte {
|
||||
return s.CurrentPersistent
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user