forked from eden-emu/eden
		
	common/common_funcs: Rename INSERT_UNION_PADDING_{BYTES,WORDS} to _NOINIT
INSERT_PADDING_BYTES_NOINIT is more descriptive of the underlying behavior.
This commit is contained in:
		
							parent
							
								
									c8bf0caca0
								
							
						
					
					
						commit
						3ff978aa4f
					
				
					 11 changed files with 149 additions and 149 deletions
				
			
		|  | @ -24,10 +24,10 @@ | |||
| #define INSERT_PADDING_WORDS(num_words)                                                            \ | ||||
|     std::array<u32, num_words> CONCAT2(pad, __LINE__) {} | ||||
| 
 | ||||
| /// These are similar to the INSERT_PADDING_* macros, but are needed for padding unions. This is
 | ||||
| /// because unions can only be initialized by one member.
 | ||||
| #define INSERT_UNION_PADDING_BYTES(num_bytes) std::array<u8, num_bytes> CONCAT2(pad, __LINE__) | ||||
| #define INSERT_UNION_PADDING_WORDS(num_words) std::array<u32, num_words> CONCAT2(pad, __LINE__) | ||||
| /// These are similar to the INSERT_PADDING_* macros but do not zero-initialize the contents.
 | ||||
| /// This keeps the structure trivial to construct.
 | ||||
| #define INSERT_PADDING_BYTES_NOINIT(num_bytes) std::array<u8, num_bytes> CONCAT2(pad, __LINE__) | ||||
| #define INSERT_PADDING_WORDS_NOINIT(num_words) std::array<u32, num_words> CONCAT2(pad, __LINE__) | ||||
| 
 | ||||
| #ifndef _MSC_VER | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 ReinUsesLisp
						ReinUsesLisp