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

« back to all changes in this revision

Viewing changes to src/vm/parrot/6model/reprs/KnowHOWREPR.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 KNOWHOWREPR_H_GUARD
 
2
#define KNOWHOWREPR_H_GUARD
 
3
 
 
4
typedef struct {
 
5
    /* Methods table; a hash. */
 
6
    PMC *methods;
 
7
 
 
8
    /* Array of attribute meta-objects. */
 
9
    PMC *attributes;
 
10
 
 
11
    /* Name of the object. */
 
12
    STRING *name;
 
13
} KnowHOWREPRBody;
 
14
    
 
15
/* This is how an instance with the KnowHOWREPR representation looks. */
 
16
typedef struct {
 
17
    SixModelObjectCommonalities common;
 
18
    KnowHOWREPRBody body;
 
19
} KnowHOWREPRInstance;
 
20
 
 
21
/* Initializes the KnowHOW REPR. */
 
22
REPROps * KnowHOWREPR_initialize(PARROT_INTERP);
 
23
 
 
24
#endif