Mercurial > pub > dyncall > dyncall
comparison dyncall/dyncall_callvm_arm64.c @ 651:cab0031c6691
- arm64 files:
* // to /* comments */ (b/c dyncall supports pre-c99 toolchains, in this case it's more for consistency reasons throughout dyncall, as arm64 is newer than 1999)
* removed comment with dead link
* cosmetics
- portasm readme addition
author | Tassilo Philipp |
---|---|
date | Thu, 07 Mar 2024 10:34:10 +0100 |
parents | 71c884e610f0 |
children |
comparison
equal
deleted
inserted
replaced
650:4e40299cc673 | 651:cab0031c6691 |
---|---|
57 } else { | 57 } else { |
58 dcVecAppend(&p->mVecHead, &x, sizeof(DClonglong)); | 58 dcVecAppend(&p->mVecHead, &x, sizeof(DClonglong)); |
59 } | 59 } |
60 } | 60 } |
61 | 61 |
62 static void a_bool (DCCallVM* self, DCbool x) { a_i64(self, (DClonglong)x); } | 62 static void a_bool (DCCallVM* self, DCbool x) { a_i64(self, (DClonglong)x); } |
63 static void a_char (DCCallVM* self, DCchar x) { a_i64(self, x); } | 63 static void a_char (DCCallVM* self, DCchar x) { a_i64(self, x); } |
64 static void a_short (DCCallVM* self, DCshort x) { a_i64(self, x); } | 64 static void a_short (DCCallVM* self, DCshort x) { a_i64(self, x); } |
65 static void a_int (DCCallVM* self, DCint x) { a_i64(self, x); } | 65 static void a_int (DCCallVM* self, DCint x) { a_i64(self, x); } |
66 static void a_long (DCCallVM* self, DClong x) { a_i64(self, x); } | 66 static void a_long (DCCallVM* self, DClong x) { a_i64(self, x); } |
67 static void a_pointer (DCCallVM* self, DCpointer x) { a_i64(self, (DClonglong) x ); } | 67 static void a_pointer (DCCallVM* self, DCpointer x) { a_i64(self, (DClonglong) x ); } |
68 | 68 |
69 static void a_float(DCCallVM* in_p, DCfloat x) | 69 static void a_float(DCCallVM* in_p, DCfloat x) |
70 { | 70 { |
71 DCCallVM_arm64* p = (DCCallVM_arm64*)in_p; | 71 DCCallVM_arm64* p = (DCCallVM_arm64*)in_p; |