format with astyle (step 1)
This commit is contained in:
		
							parent
							
								
									71266b3eb9
								
							
						
					
					
						commit
						45771cc91c
					
				
							
								
								
									
										27
									
								
								astylerc
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										27
									
								
								astylerc
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,27 @@ | |||||||
|  | # Artistic Style, see http://astyle.sourceforge.net/ | ||||||
|  | # full documentation, see: http://astyle.sourceforge.net/astyle.html | ||||||
|  | # | ||||||
|  | # usage: | ||||||
|  | #       astyle --options=astylerc *.[ch] | ||||||
|  | 
 | ||||||
|  | ## Bracket Style Options | ||||||
|  | style=kr | ||||||
|  | 
 | ||||||
|  | ## Tab Options | ||||||
|  | indent=spaces=3 | ||||||
|  | 
 | ||||||
|  | ## Bracket Modify Options | ||||||
|  | 
 | ||||||
|  | ## Indentation Options | ||||||
|  | min-conditional-indent=0 | ||||||
|  | 
 | ||||||
|  | ## Padding Options | ||||||
|  | pad-header | ||||||
|  | unpad-paren | ||||||
|  | align-pointer=name | ||||||
|  | 
 | ||||||
|  | ## Formatting Options | ||||||
|  | break-after-logical | ||||||
|  | max-code-length=120 | ||||||
|  | convert-tabs | ||||||
|  | mode=c | ||||||
| @ -19,7 +19,8 @@ | |||||||
|  * see http://gmplib.org/manual/Integer-Import-and-Export.html
 |  * see http://gmplib.org/manual/Integer-Import-and-Export.html
 | ||||||
|  */ |  */ | ||||||
| int mp_export(void *rop, size_t *countp, int order, size_t size, | int mp_export(void *rop, size_t *countp, int order, size_t size, | ||||||
|                                 int endian, size_t nails, mp_int* op) { |               int endian, size_t nails, mp_int *op) | ||||||
|  | { | ||||||
|    int result; |    int result; | ||||||
|    size_t odd_nails, nail_bytes, i, j, bits, count; |    size_t odd_nails, nail_bytes, i, j, bits, count; | ||||||
|    unsigned char odd_nail_mask; |    unsigned char odd_nail_mask; | ||||||
|  | |||||||
| @ -19,7 +19,8 @@ | |||||||
|  * see http://gmplib.org/manual/Integer-Import-and-Export.html
 |  * see http://gmplib.org/manual/Integer-Import-and-Export.html
 | ||||||
|  */ |  */ | ||||||
| int mp_import(mp_int *rop, size_t count, int order, size_t size, | int mp_import(mp_int *rop, size_t count, int order, size_t size, | ||||||
|                             int endian, size_t nails, const void* op) { |               int endian, size_t nails, const void *op) | ||||||
|  | { | ||||||
|    int result; |    int result; | ||||||
|    size_t odd_nails, nail_bytes, i, j; |    size_t odd_nails, nail_bytes, i, j; | ||||||
|    unsigned char odd_nail_mask; |    unsigned char odd_nail_mask; | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user