Commit 6775a389 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

operatorPrintAll: remove old implementation.

parent 5d15c0d1
......@@ -1249,44 +1249,6 @@ void operatorPrintAll(void) {
}
std::cerr << std::endl;
/* old implementation for comparison only
for(auto alias : opalias){}
//-0----------
int i, j, nbyte, nop = 0;
const char *opernames[4096];
FILE *pout = stderr;
for ( i = 0; i < NumModules; i++ )
{
if ( Modules[i].mode )
{
j = 0;
while ( Modules[i].operators[j] )
opernames[nop++] = Modules[i].operators[j++];
}
}
// Add operator aliases
for ( i = 0; i < nopalias; i++ )
{
opernames[nop++] = opalias[i][0];
}
qsort(opernames, nop, sizeof(char *), cmpname);
nbyte = fprintf(pout, " ");
for ( i = 0; i < nop; i++ )
{
if ( nbyte > 85 )
{
fprintf(pout, "\n");
nbyte = fprintf(pout, " ");
}
nbyte += fprintf(pout, " %s", opernames[i]);
}
fprintf(pout, "\n");
*/
}
#ifdef CUSTOM_MODULES
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment