Fixed 2 incorrect function signatures
This commit is contained in:
		
							parent
							
								
									db4230b809
								
							
						
					
					
						commit
						18011ea2f0
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -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
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue