Rename directory hhbc to hackc
[hiphop-php.git] / hphp / hack / src / hackc / hhbc / hhas_adata.rs
blob21e59b80609e4a90524ce7dc08e08e519ccecc2f
1 // Copyright (c) Facebook, Inc. and its affiliates.
2 //
3 // This source code is licensed under the MIT license found in the
4 // LICENSE file in the "hack" directory of this source tree.
5 use ffi::Str;
6 use runtime::TypedValue;
8 pub const VARRAY_PREFIX: &str = "y";
9 pub const DARRAY_PREFIX: &str = "Y";
10 pub const VEC_PREFIX: &str = "v";
11 pub const DICT_PREFIX: &str = "D";
12 pub const KEYSET_PREFIX: &str = "k";
14 #[derive(Debug)]
15 #[repr(C)]
16 pub struct HhasAdata<'arena> {
17     pub id: Str<'arena>,
18     pub value: TypedValue<'arena>,