mirror of
				https://github.com/Ed94/gencpp.git
				synced 2025-11-03 15:26:12 -08:00 
			
		
		
		
	Gutting test code, going to be just doing it proeprly when the library upfornt api is done.
This commit is contained in:
		@@ -2,10 +2,10 @@ project( 'test', 'c', default_options : ['buildtype=debug'] )
 | 
			
		||||
 | 
			
		||||
# add_global_arguments('-E', language : 'cpp')
 | 
			
		||||
 | 
			
		||||
includes = include_directories( 
 | 
			
		||||
  [ 
 | 
			
		||||
includes = include_directories(
 | 
			
		||||
  [
 | 
			
		||||
    '../gen',
 | 
			
		||||
    '../../singleheader' 
 | 
			
		||||
    '../../singleheader'
 | 
			
		||||
  ])
 | 
			
		||||
 | 
			
		||||
# get_sources = files('./get_sources.ps1')
 | 
			
		||||
@@ -19,4 +19,6 @@ if get_option('buildtype').startswith('debug')
 | 
			
		||||
 | 
			
		||||
endif
 | 
			
		||||
 | 
			
		||||
add_project_arguments('-Dgentime', language : ['c', 'cpp'])
 | 
			
		||||
 | 
			
		||||
executable( 'test_c99', sources, include_directories : includes )
 | 
			
		||||
 
 | 
			
		||||
@@ -5,7 +5,7 @@
 | 
			
		||||
typedef u64(*)(void*) HashingFn;
 | 
			
		||||
 | 
			
		||||
#if gen_time
 | 
			
		||||
#	define gen_table( Type_, HashingFn_ ) gen_request_table( #Type_, sizeof(Type_), HashingFn_ ) 
 | 
			
		||||
#	define gen_table( Type_, HashingFn_ ) gen_request_table( #Type_, sizeof(Type_), HashingFn_ )
 | 
			
		||||
 | 
			
		||||
	u64 table_default_hash_fn( void* address )
 | 
			
		||||
	{
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user