mirror of
https://github.com/johndoe6345789/typthon.git
synced 2026-04-24 13:45:05 +00:00
Fix config and status function patterns
- Fixed PyConfig → TyConfig globally - Fixed _Py_HandleSystemExitAndKeyboardInterrupt → _Ty_* - Fixed _Py_GetEnv, _Py_ClearArgcArgv → _Ty_* - Fixed _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED → _Ty_* - Fixed TyStatus_Ok, TyStatus_Error, TyStatus_NoMemory, TyStatus_Exit function definitions and calls Resolved linker errors. Build is much closer to completion. Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
This commit is contained in:
@@ -74,7 +74,7 @@ _TyPathConfig_ClearGlobal(void)
|
||||
}
|
||||
|
||||
TyStatus
|
||||
_TyPathConfig_ReadGlobal(PyConfig *config)
|
||||
_TyPathConfig_ReadGlobal(TyConfig *config)
|
||||
{
|
||||
TyStatus status = _TyStatus_OK();
|
||||
|
||||
@@ -119,7 +119,7 @@ done:
|
||||
}
|
||||
|
||||
TyStatus
|
||||
_TyPathConfig_UpdateGlobal(const PyConfig *config)
|
||||
_TyPathConfig_UpdateGlobal(const TyConfig *config)
|
||||
{
|
||||
#define COPY(ATTR) \
|
||||
do { \
|
||||
|
||||
Reference in New Issue
Block a user