mirror of
				https://github.com/Ed94/gencpp.git
				synced 2025-11-03 15:26:12 -08:00 
			
		
		
		
	add GEN_NS to txt macro
This commit is contained in:
		@@ -40,9 +40,9 @@ struct Str
 | 
			
		||||
 | 
			
		||||
#ifndef txt
 | 
			
		||||
#	if GEN_COMPILER_CPP
 | 
			
		||||
#		define txt( text )          Str { ( text ), sizeof( text ) - 1 }
 | 
			
		||||
#		define txt( text )          GEN_NS Str { ( text ), sizeof( text ) - 1 }
 | 
			
		||||
#	else
 | 
			
		||||
#		define txt( text )         (Str){ ( text ), sizeof( text ) - 1 }
 | 
			
		||||
#		define txt( text )         (GEN_NS Str){ ( text ), sizeof( text ) - 1 }
 | 
			
		||||
#	endif
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user