mirror of
				https://github.com/superseriousbusiness/gotosocial.git
				synced 2025-10-30 17:22:26 -05:00 
			
		
		
		
	[chore] bump ncruces/go-sqlite3 to v0.25.0 (#3966)
This commit is contained in:
		
					parent
					
						
							
								6473886c8e
							
						
					
				
			
			
				commit
				
					
						db4b857159
					
				
			
		
					 36 changed files with 636 additions and 578 deletions
				
			
		
							
								
								
									
										5
									
								
								vendor/github.com/ncruces/go-sqlite3/internal/util/mem.go
									
										
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										5
									
								
								vendor/github.com/ncruces/go-sqlite3/internal/util/mem.go
									
										
									
										generated
									
									
										vendored
									
									
								
							|  | @ -135,11 +135,10 @@ func ReadString(mod api.Module, ptr Ptr_t, maxlen int64) string { | |||
| 			panic(RangeErr) | ||||
| 		} | ||||
| 	} | ||||
| 	if i := bytes.IndexByte(buf, 0); i < 0 { | ||||
| 		panic(NoNulErr) | ||||
| 	} else { | ||||
| 	if i := bytes.IndexByte(buf, 0); i >= 0 { | ||||
| 		return string(buf[:i]) | ||||
| 	} | ||||
| 	panic(NoNulErr) | ||||
| } | ||||
| 
 | ||||
| func WriteBytes(mod api.Module, ptr Ptr_t, b []byte) { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue