Update inner macro

This commit is contained in:
Aoran Zeng
2024-09-29 11:50:11 +08:00
parent ffaee0b0c3
commit 2a52c898d6
64 changed files with 98 additions and 98 deletions

View File

@@ -29,7 +29,7 @@ void
pl_python_pdm_setsrc (char *option)
{
SourceInfo source;
chsrc_yield_the_source (pl_python);
chsrc_yield_for_the_source (pl_python);
if (ProgMode_Target_Group!=true)
chsrc_confirm_source;
@@ -43,7 +43,7 @@ pl_python_pdm_setsrc (char *option)
chsrc_run (cmd, RunOpt_No_Last_New_Line);
if (ProgMode_Target_Group!=true)
chsrc_conclude (&source, ChsrcTypeAuto);
chsrc_conclude (&source, SetsrcType_Auto);
}
@@ -53,7 +53,7 @@ pl_python_pdm_setsrc (char *option)
void
pl_python_pdm_resetsrc (char *option)
{
pl_python_pdm_setsrc (ChsrcTypeReset);
pl_python_pdm_setsrc (SetsrcType_Reset);
}

View File

@@ -28,7 +28,7 @@ void
pl_python_poetry_setsrc (char *option)
{
SourceInfo source;
chsrc_yield_the_source (pl_python);
chsrc_yield_for_the_source (pl_python);
if (ProgMode_Target_Group!=true)
chsrc_confirm_source;
@@ -41,7 +41,7 @@ pl_python_poetry_setsrc (char *option)
chsrc_run (cmd, RunOpt_No_Last_New_Line);
if (ProgMode_Target_Group!=true)
chsrc_conclude (&source, ChsrcTypeAuto);
chsrc_conclude (&source, SetsrcType_Auto);
}
@@ -51,7 +51,7 @@ pl_python_poetry_setsrc (char *option)
void
pl_python_poetry_resetsrc (char *option)
{
pl_python_poetry_setsrc (ChsrcTypeReset);
pl_python_poetry_setsrc (SetsrcType_Reset);
}

View File

@@ -45,7 +45,7 @@ pl_python_setsrc (char *option)
chsrc_note2 (msg);
}
char *chsrc_type = xy_streql (option, ChsrcTypeReset) ? ChsrcTypeReset : ChsrcTypeAuto;
char *chsrc_type = xy_streql (option, SetsrcType_Reset) ? SetsrcType_Reset : SetsrcType_Auto;
bool pdm_exist = false,
poetry_exist = false;
@@ -77,7 +77,7 @@ pl_python_setsrc (char *option)
void
pl_python_resetsrc (char *option)
{
pl_python_setsrc (ChsrcTypeReset);
pl_python_setsrc (SetsrcType_Reset);
}

View File

@@ -39,7 +39,7 @@ pl_python_pip_setsrc (char *option)
}
SourceInfo source;
chsrc_yield_the_source (pl_python);
chsrc_yield_for_the_source (pl_python);
if (ProgMode_Target_Group!=true)
chsrc_confirm_source;
@@ -53,7 +53,7 @@ pl_python_pip_setsrc (char *option)
chsrc_run (cmd, RunOpt_No_Last_New_Line);
if (ProgMode_Target_Group!=true)
chsrc_conclude (&source, ChsrcTypeAuto);
chsrc_conclude (&source, SetsrcType_Auto);
}
@@ -63,7 +63,7 @@ pl_python_pip_setsrc (char *option)
void
pl_python_pip_resetsrc (char *option)
{
pl_python_pip_setsrc (ChsrcTypeReset);
pl_python_pip_setsrc (SetsrcType_Reset);
}