~ubuntu-branches/ubuntu/vivid/nqp/vivid-proposed

« back to all changes in this revision

Viewing changes to src/6model/reprs/VMArray.h

  • Committer: Package Import Robot
  • Author(s): Alessandro Ghedini
  • Date: 2013-11-01 12:09:18 UTC
  • mfrom: (1.1.4)
  • Revision ID: package-import@ubuntu.com-20131101120918-kx51sl0sxl3exsxi
Tags: 2013.10-1
* New upstream release
* Bump versioned (Build-)Depends on parrot
* Update patches
* Install new README.pod
* Fix vcs-field-not-canonical
* Do not install rubyish examples
* Do not Depends on parrot-devel anymore
* Add 07_disable-serialization-tests.patch

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#ifndef VMARRAY_H_GUARD
2
 
#define VMARRAY_H_GUARD
3
 
 
4
 
/* Body of a VMArray. */
5
 
typedef struct {
6
 
    INTVAL  elems;
7
 
    INTVAL  start;
8
 
    INTVAL  ssize;
9
 
    void   *slots;
10
 
} VMArrayBody;
11
 
 
12
 
/* This is how an instance with the VMArray representation looks. */
13
 
typedef struct {
14
 
    SixModelObjectCommonalities common;
15
 
    VMArrayBody body;
16
 
} VMArrayInstance;
17
 
 
18
 
typedef struct {
19
 
    PMC *elem_type;
20
 
    INTVAL elem_size;
21
 
    INTVAL elem_kind;
22
 
} VMArrayREPRData;
23
 
 
24
 
/* Initializes the VMArray REPR. */
25
 
REPROps * VMArray_initialize(PARROT_INTERP);
26
 
 
27
 
#endif