Update code generator for extensions - Better output messages & avoid generating (func delete) twice
@@ -376,6 +376,7 @@ Func GenCode aList
cCode = ""
cCode += GenDLLStart()
# Generate Classes List at first
+ ? "Prepare the lists..."
nMax = len(aList)
for t = 1 to nMax
aFunc = aList[t]
@@ -388,7 +389,7 @@ Func GenCode aList
ok
ok
next
-
+ ? "Generate the code..."
for t = 1 to nMax
aFunc = aList[t]
if aFunc[C_FUNC_INS] = C_INS_FUNCTION
@@ -1373,7 +1374,7 @@ Func GenRingCode aList
ok
ok
# Define the method
- if aFunc[C_FUNC_NAME] = "new" loop ok
+ if aFunc[C_FUNC_NAME] = "new" or aFunc[C_FUNC_NAME] = "delete" loop ok
cMethodName = aFunc[C_FUNC_NAME]
cMethodName = GenRingCodeNewMethodName(cClassName,cMethodName)
cMethodName = SubStr(cMethodName,"@","_")
