rt: Remove size_of and align_of functions. Now written in Rust

This commit is contained in:
Brian Anderson
2011-11-17 14:22:40 -08:00
parent a9f7cbe240
commit 9ca2005959
3 changed files with 4 additions and 18 deletions

View File

@@ -75,16 +75,6 @@ void squareroot(double *input, double *output) {
*output = sqrt(*input);
}
extern "C" CDECL size_t
size_of(type_desc *t) {
return t->size;
}
extern "C" CDECL size_t
align_of(type_desc *t) {
return t->align;
}
extern "C" CDECL void
leak(void *thing) {
// Do nothing. Call this with move-mode in order to say "Don't worry rust,