refactor: rawptr[T] -> T* 与 t.CConst 前缀迁移(R14/R16)
R14:rawptr[X] -> X*(41 文件 / 2037 行改动),X 含模块限定名与嵌套下标(rawptr[GSList[NameEntry]] -> GSList[NameEntry]*)。保留 6 处 rawptr[t.CPtr](规范例外:存纯裸指针);# 注释与字符串里的 rawptr[...] 属元语法描述,未动。 R16(保守子集):t.CConst | str/bytes -> const str/bytes,t.CConst | char | t.CPtr -> const str;typedef 右值位置豁免(const str 在该处无法注册,与 R1 同源)。 验证:TPC 自举三重重编 SUCCESS;TransPyV.exe 全量 77/77 顺序回归通过。
This commit is contained in:
1 parent
0ef4ba9634
commit
0055ab7ea7
41 files changed
+2031
-2031
No files matched your search
+1
-1
@@ -428,7 +428,7 @@ class ArgumentParser:
|
||||
# release — Release ParsedArgs and all internal resources
|
||||
# ============================================================
|
||||
|
||||
def release(args: rawptr[ParsedArgs]):
|
||||
def release(args: ParsedArgs*):
|
||||
"""Free ParsedArgs object and its inner HashTable resources."""
|
||||
if args is None: return
|
||||
if args.__mbuddy__ is None: return
|
||||
|
||||
Reference in new issue
Block a user