]> git.proxmox.com Git - rustc.git/blob - src/rt/rust_util.cpp
Imported Upstream version 0.6
[rustc.git] / src / rt / rust_util.cpp
1 // Copyright 2012 The Rust Project Developers. See the COPYRIGHT
2 // file at the top-level directory of this distribution and at
3 // http://rust-lang.org/COPYRIGHT.
4 //
5 // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6 // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7 // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8 // option. This file may not be copied, modified, or distributed
9 // except according to those terms.
10
11 #include "rust_type.h"
12
13
14 // A hardcoded type descriptor for strings, since the runtime needs to
15 // be able to create them.
16
17 struct type_desc str_body_tydesc = {
18 1, // size
19 1, // align
20 NULL, // take_glue
21 NULL, // drop_glue
22 NULL, // free_glue
23 NULL, // visit_glue
24 NULL, // shape
25 NULL, // shape_tables
26 };
27
28 //
29 // Local Variables:
30 // mode: C++
31 // fill-column: 78;
32 // indent-tabs-mode: nil
33 // c-basic-offset: 4
34 // buffer-file-coding-system: utf-8-unix
35 // End:
36 //