mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 11:42:30 +00:00 
			
		
		
		
	Renamed SIZE() to GetSize() because of name collision on Win32
This commit is contained in:
		
							parent
							
								
									c7f5aab625
								
							
						
					
					
						commit
						4569a747f8
					
				
					 48 changed files with 447 additions and 447 deletions
				
			
		|  | @ -75,8 +75,8 @@ AST::AstNode *AST::dpi_call(const std::string &rtype, const std::string &fname, | |||
| 
 | ||||
| 	log("Calling DPI function `%s' and returning `%s':\n", fname.c_str(), rtype.c_str()); | ||||
| 
 | ||||
| 	log_assert(SIZE(args) == SIZE(argtypes)); | ||||
| 	for (int i = 0; i < SIZE(args); i++) { | ||||
| 	log_assert(GetSize(args) == GetSize(argtypes)); | ||||
| 	for (int i = 0; i < GetSize(args); i++) { | ||||
| 		if (argtypes[i] == "real") { | ||||
| 			log("  arg %d (%s): %f\n", i, argtypes[i].c_str(), args[i]->asReal(args[i]->is_signed)); | ||||
| 			value_store[i].f64 = args[i]->asReal(args[i]->is_signed); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue