summaryrefslogtreecommitdiff
path: root/src/library/gm/call.c
diff options
context:
space:
mode:
authorAlexis211 <alexis211@gmail.com>2010-09-10 19:35:31 +0200
committerAlexis211 <alexis211@gmail.com>2010-09-10 19:35:31 +0200
commita8da6dba7ddc5e3d31a1914597e7b38fbc2d197c (patch)
treefbef80d474e5b9c891e0eb353cfa602acf67fdae /src/library/gm/call.c
parentaba6ed4b91aff5d914be11704e34de75bfd4d003 (diff)
downloadTCE-a8da6dba7ddc5e3d31a1914597e7b38fbc2d197c.tar.gz
TCE-a8da6dba7ddc5e3d31a1914597e7b38fbc2d197c.zip
Removed all old object/request/... stuff (that was crap)
Diffstat (limited to 'src/library/gm/call.c')
-rw-r--r--src/library/gm/call.c34
1 files changed, 0 insertions, 34 deletions
diff --git a/src/library/gm/call.c b/src/library/gm/call.c
deleted file mode 100644
index c897415..0000000
--- a/src/library/gm/call.c
+++ /dev/null
@@ -1,34 +0,0 @@
-#include <gc/syscall.h>
-#include <gm/call.h>
-#include <gm/method.h>
-#include <gc/shm.h>
-#include <string.h>
-
-int c_handleCheck(_CHP, int method) {
- struct user_sendrequest sr;
- sr.func = M_HANDLECHECK_BIVV;
- sr.a = method;
- _CHC;
- if (sr.errcode) return 0;
- return sr.answeri;
-}
-
-int c_handleCheckA(_CHP, int* methods, int number) {
- struct user_sendrequest sr;
- sr.func = M_HANDLECHECK_BMIV;
- void* ptr = shm_allocNew(sizeof(int) * number);
- memcpy(ptr, methods, sizeof(int) * number);
- sr.a = (uint32_t)methods;
- sr.b = number;
- _CHC;
- shm_freeDel(ptr);
- if (sr.errcode) return 0;
- return sr.answeri;
-}
-
-int c_nothing(_CHP) {
- struct user_sendrequest sr;
- sr.func = M_NOTHING_VVVV;
- _CHC;
- return sr.errcode;
-}