Fixed 2 incorrect function signatures

This commit is contained in:
jim teeuwen 2010-10-10 20:04:58 +02:00
parent db4230b809
commit 18011ea2f0
1 changed files with 2 additions and 2 deletions

View File

@ -182,7 +182,7 @@ func (this *Document) LoadUri(uri string) (err os.Error) {
return
}
func (this *Document) LoadStream(r *io.Reader) (err os.Error) {
func (this *Document) LoadStream(r io.Reader) (err os.Error) {
var data []byte
t := bytes.NewBuffer(data)
@ -222,7 +222,7 @@ func (this *Document) SaveString() (s string, err os.Error) {
return
}
func (this *Document) SaveStream(w *io.Writer) (err os.Error) {
func (this *Document) SaveStream(w io.Writer) (err os.Error) {
s, err := this.SaveString()
if err != nil {
return