mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	Implement PEP 3121: new module initialization and finalization API.
This commit is contained in:
		
							parent
							
								
									cdf94635d7
								
							
						
					
					
						commit
						1a21451b1d
					
				
					 113 changed files with 2230 additions and 855 deletions
				
			
		|  | @ -38,7 +38,7 @@ dl_funcptr _PyImport_GetDynLoadFunc(const char *fqname, const char *shortname, | |||
| 		return NULL; | ||||
| 	} | ||||
| 
 | ||||
| 	PyOS_snprintf(funcname, sizeof(funcname), "init%.200s", shortname); | ||||
| 	PyOS_snprintf(funcname, sizeof(funcname), "PyInit_%.200s", shortname); | ||||
| 	rc = DosQueryProcAddr(hDLL, 0L, funcname, &p); | ||||
| 	if (rc != NO_ERROR) | ||||
| 		p = NULL; /* Signify Failure to Acquire Entrypoint */ | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Martin v. Löwis
						Martin v. Löwis