mirror of
				https://gitlab.freedesktop.org/wlroots/wlroots.git
				synced 2025-11-03 09:01:40 -05:00 
			
		
		
		
	
		
			
	
	
		
			12 lines
		
	
	
	
		
			181 B
		
	
	
	
		
			C
		
	
	
	
	
	
		
		
			
		
	
	
			12 lines
		
	
	
	
		
			181 B
		
	
	
	
		
			C
		
	
	
	
	
	
| 
								 | 
							
								#ifndef UTIL_UTF8_H
							 | 
						||
| 
								 | 
							
								#define UTIL_UTF8_H
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								#include <stdbool.h>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								/**
							 | 
						||
| 
								 | 
							
								 * Return true if and only if the string is a valid UTF-8 sequence.
							 | 
						||
| 
								 | 
							
								 */
							 | 
						||
| 
								 | 
							
								bool is_utf8(const char *string);
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								#endif
							 |