mirror of
				https://github.com/python/cpython.git
				synced 2025-11-04 11:49:12 +00:00 
			
		
		
		
	Add defs for struct _frozen and struct _frozen *PyImport_FrozenModules();
This commit is contained in:
		
							parent
							
								
									8fa9b6f932
								
							
						
					
					
						commit
						4ee68d91c3
					
				
					 1 changed files with 13 additions and 0 deletions
				
			
		| 
						 | 
					@ -45,8 +45,21 @@ struct _inittab {
 | 
				
			||||||
	void (*initfunc)();
 | 
						void (*initfunc)();
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					/* This table is defined in config.c: */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
extern struct _inittab inittab[];
 | 
					extern struct _inittab inittab[];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					struct _frozen {
 | 
				
			||||||
 | 
						char *name;
 | 
				
			||||||
 | 
						unsigned char *code;
 | 
				
			||||||
 | 
						int size;
 | 
				
			||||||
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					/* Embedding apps may change this pointer to point to their favorite
 | 
				
			||||||
 | 
					   collection of frozen modules: */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					extern DL_IMPORT(struct _frozen *) PyImport_FrozenModules;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef __cplusplus
 | 
					#ifdef __cplusplus
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue