| 
									
										
										
										
											2020-01-30 17:32:25 +01:00
										 |  |  | #!/usr/bin/env python3 | 
					
						
							| 
									
										
										
										
											2020-10-09 12:15:25 -04:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-02-26 13:48:58 -06:00
										 |  |  | # This work is licensed under the terms of the GNU GPL, version 2 or later. | 
					
						
							|  |  |  | # See the COPYING file in the top-level directory. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-10-09 12:15:25 -04:00
										 |  |  | """
 | 
					
						
							| 
									
										
										
										
											2020-10-09 12:15:26 -04:00
										 |  |  | QAPI code generation execution shim. | 
					
						
							| 
									
										
										
										
											2020-10-09 12:15:25 -04:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-10-09 12:15:26 -04:00
										 |  |  | This standalone script exists primarily to facilitate the running of the QAPI | 
					
						
							|  |  |  | code generator without needing to install the python module to the current | 
					
						
							|  |  |  | execution environment. | 
					
						
							| 
									
										
										
										
											2020-10-09 12:15:25 -04:00
										 |  |  | """
 | 
					
						
							| 
									
										
										
										
											2019-10-18 09:43:44 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-02-26 13:48:58 -06:00
										 |  |  | import sys | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-10-09 12:15:26 -04:00
										 |  |  | from qapi import main | 
					
						
							| 
									
										
										
										
											2018-02-26 13:48:58 -06:00
										 |  |  | 
 | 
					
						
							|  |  |  | if __name__ == '__main__': | 
					
						
							| 
									
										
										
										
											2020-10-09 12:15:26 -04:00
										 |  |  |     sys.exit(main.main()) |