mirror of
				https://github.com/superseriousbusiness/gotosocial.git
				synced 2025-11-03 23:42:26 -06:00 
			
		
		
		
	Update dependencies (#333)
This commit is contained in:
		
					parent
					
						
							
								ce22e03f9d
							
						
					
				
			
			
				commit
				
					
						182b4eea73
					
				
			
		
					 848 changed files with 377869 additions and 107280 deletions
				
			
		
							
								
								
									
										21
									
								
								vendor/github.com/modern-go/reflect2/go_below_118.go
									
										
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								vendor/github.com/modern-go/reflect2/go_below_118.go
									
										
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,21 @@
 | 
			
		|||
//+build !go1.18
 | 
			
		||||
 | 
			
		||||
package reflect2
 | 
			
		||||
 | 
			
		||||
import (
 | 
			
		||||
	"unsafe"
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
// m escapes into the return value, but the caller of mapiterinit
 | 
			
		||||
// doesn't let the return value escape.
 | 
			
		||||
//go:noescape
 | 
			
		||||
//go:linkname mapiterinit reflect.mapiterinit
 | 
			
		||||
func mapiterinit(rtype unsafe.Pointer, m unsafe.Pointer) (val *hiter)
 | 
			
		||||
 | 
			
		||||
func (type2 *UnsafeMapType) UnsafeIterate(obj unsafe.Pointer) MapIterator {
 | 
			
		||||
	return &UnsafeMapIterator{
 | 
			
		||||
		hiter:      mapiterinit(type2.rtype, *(*unsafe.Pointer)(obj)),
 | 
			
		||||
		pKeyRType:  type2.pKeyRType,
 | 
			
		||||
		pElemRType: type2.pElemRType,
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue