return EC_OK;\r
}\r
\r
-// void TeoriaDelete(pointer{Teoria})\r
-int SAbrTeoriaDelete(brEval args[], brEval* result, void* data)\r
-{\r
- delete (CTeoria*) BRPOINTER(args);\r
- return EC_OK;\r
-}\r
-\r
\r
/////////////////////////// CSistemaAutonomo /////////////////////////\r
\r
-// pointer{SistemaAutonomo} SistemaAutonomoNew()\r
+// pointer{SistemaAutonomo} SistemaAutonomoNew(int, int)\r
int SAbrSistemaAutonomoNew(brEval args[], brEval* result, void* data)\r
{\r
- result->set(new CSistemaAutonomo());\r
+ result->set(new CSistemaAutonomo(BRINT(args), BRINT(args+1)));\r
return EC_OK;\r
}\r
\r
AT_STRING, AT_POINTER, 0);\r
brNewBreveCall(data, "TeoriaGetAccion", SAbrTeoriaGetAccion,\r
AT_STRING, AT_POINTER, 0);\r
- brNewBreveCall(data, "TeoriaDelete", SAbrTeoriaDelete,\r
- AT_NULL, AT_POINTER, 0);\r
brNewBreveCall(data, "SistemaAutonomoNew", SAbrSistemaAutonomoNew,\r
- AT_POINTER, 0);\r
+ AT_POINTER, AT_INT, AT_INT, 0);\r
brNewBreveCall(data, "SistemaAutonomoAddTeoria", SAbrSistemaAutonomoAddTeoria,\r
AT_NULL, AT_POINTER, AT_POINTER, 0);\r
brNewBreveCall(data, "SistemaAutonomoSetValue", SAbrSistemaAutonomoSetValue,\r