Rename struct

This commit is contained in:
Aoran Zeng
2024-11-22 07:02:21 +08:00
parent b8f847a9ce
commit 743380290e
68 changed files with 109 additions and 109 deletions

View File

@@ -28,7 +28,7 @@ pl_python_pdm_getsrc (char *option)
void
pl_python_pdm_setsrc (char *option)
{
SourceInfo source;
Source_t source;
chsrc_yield_for_the_source (pl_python);
if (ProgMode_Target_Group!=true)
chsrc_confirm_source;

View File

@@ -27,7 +27,7 @@ pl_python_poetry_getsrc (char *option)
void
pl_python_poetry_setsrc (char *option)
{
SourceInfo source;
Source_t source;
chsrc_yield_for_the_source (pl_python);
if (ProgMode_Target_Group!=true)
chsrc_confirm_source;

View File

@@ -12,7 +12,7 @@
* @update 2024-09-14
* @note 不要添加Zju浙大的pypi在校外访问会自动转向Tuna
*/
static SourceInfo
static Source_t
pl_python_sources[] = {
{&UpstreamProvider, "https://pypi.org/simple"},
{&Bfsu, "https://mirrors.bfsu.edu.cn/pypi/web/simple"},

View File

@@ -38,7 +38,7 @@ pl_python_pip_setsrc (char *option)
return;
}
SourceInfo source;
Source_t source;
chsrc_yield_for_the_source (pl_python);
if (ProgMode_Target_Group!=true)
chsrc_confirm_source;