X-Git-Url: https://git.llucax.com/z.facultad/75.68/celdas.git/blobdiff_plain/586ad2d03cf73d7e75a1a2522db3e0c4eedd5e9c..5530730f6759a3c449df3e78f122084d16f825d6:/trunk/src/plugin.cpp?ds=inline diff --git a/trunk/src/plugin.cpp b/trunk/src/plugin.cpp index 52e1404..9571aa2 100644 --- a/trunk/src/plugin.cpp +++ b/trunk/src/plugin.cpp @@ -53,10 +53,10 @@ int SAbrTeoriaGetAccion(brEval args[], brEval* result, void* data) /////////////////////////// CSistemaAutonomo ///////////////////////// -// pointer{SistemaAutonomo} SistemaAutonomoNew() +// pointer{SistemaAutonomo} SistemaAutonomoNew(int, int) int SAbrSistemaAutonomoNew(brEval args[], brEval* result, void* data) { - result->set(new CSistemaAutonomo()); + result->set(new CSistemaAutonomo(BRINT(args), BRINT(args+1))); return EC_OK; } @@ -143,7 +143,7 @@ DLLEXPORT void SAbrFunctions(void *data) brNewBreveCall(data, "TeoriaGetAccion", SAbrTeoriaGetAccion, AT_STRING, AT_POINTER, 0); brNewBreveCall(data, "SistemaAutonomoNew", SAbrSistemaAutonomoNew, - AT_POINTER, 0); + AT_POINTER, AT_INT, AT_INT, 0); brNewBreveCall(data, "SistemaAutonomoAddTeoria", SAbrSistemaAutonomoAddTeoria, AT_NULL, AT_POINTER, AT_POINTER, 0); brNewBreveCall(data, "SistemaAutonomoSetValue", SAbrSistemaAutonomoSetValue,