add self_def_func
Merge branch 'master' of github.com:morrisyoung/PLT_Melody