|
|
|
@ -157,7 +157,7 @@ public final class FunctionConstants {
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
public NameAndDescription[] getDescriptions() { |
|
|
|
|
FineFunc[] fs = container.getFunctionDefs(); |
|
|
|
|
FunctionDef[] fs = container.getFunctionDefs(); |
|
|
|
|
int count = fs.length; |
|
|
|
|
FunctionDefNAD[] nads = new FunctionDefNAD[count]; |
|
|
|
|
for (int i = 0; i < count; i ++) { |
|
|
|
@ -252,18 +252,7 @@ public final class FunctionConstants {
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
public NameAndDescription[] getDescriptions() { |
|
|
|
|
FunctionManagerProvider funtionManager = FunctionKit.getInstance(); |
|
|
|
|
if (funtionManager != null) { |
|
|
|
|
int functionDefCount = funtionManager.getFunctionDefCount(); |
|
|
|
|
FunctionDefNAD[] nads = new FunctionDefNAD[functionDefCount]; |
|
|
|
|
for (int i = 0; i < functionDefCount; i++) { |
|
|
|
|
nads[i] = new FunctionDefNAD(funtionManager.getFunctionDef(i)); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
return nads; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
return new NameAndDescription[0]; |
|
|
|
|
return FunctionKit.getDescription(); |
|
|
|
|
} |
|
|
|
|
}; |
|
|
|
|
} |
|
|
|
|