Supports functions with 2 arguments

This commit is contained in:
Pierre Pronchery 2005-09-24 00:15:35 +00:00
parent 0b8947b5f2
commit 076be7d5f0

View File

@ -431,6 +431,9 @@ static int _receive_exec(AppInterfaceCall * calls, char ** args)
case 1:
func1 = calls->func;
return func1(args[0]);
case 2:
func2 = calls->func;
return func2(args[0], args[1]);
default:
#ifdef DEBUG
fprintf(stderr, "%s%d%s",