mirror of
https://github.com/RubyMetric/chsrc
synced 2025-10-21 02:11:28 +08:00
Update inner macro
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user