about summary refs log tree commit diff
path: root/src/rt/rust_util.cpp
blob: 60e6cc3d842660de014ffde5e4ebe2e46900c6e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#include "rust_type.h"


// A hardcoded type descriptor for strings, since the runtime needs to
// be able to create them.

struct type_desc str_body_tydesc = {
    1, // size
    1, // align
    NULL, // take_glue
    NULL, // drop_glue
    NULL, // free_glue
    NULL, // visit_glue
    NULL, // shape
    NULL, // shape_tables
};

//
// Local Variables:
// mode: C++
// fill-column: 78;
// indent-tabs-mode: nil
// c-basic-offset: 4
// buffer-file-coding-system: utf-8-unix
// End:
//