Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Updates to work with latest NQP additions.
  • Loading branch information
jnthn committed Feb 1, 2013
1 parent 33d8dd0 commit 5e5a76f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions src/binder/sixmodelobject.h
Expand Up @@ -36,6 +36,13 @@ typedef struct {
PMC *fetch_method;
} ContainerSpec;

/* How do we invoke this thing? Specifies either an attribute to look at for
* an invokable thing, or alternatively a method to call. */
typedef struct {
AttributeIdentifier value_slot;
PMC *invocation_handler;
} InvocationSpec;

/* How do we turn something of this type into a boolean? */
typedef struct {
INTVAL mode;
Expand Down Expand Up @@ -121,6 +128,10 @@ struct SixModel_STable {
* be taken as a "not a container" indication. */
ContainerSpec *container_spec;

/* If this is invokable, then this contains information needed to
* figure out how to invoke it. If not, it'll be null. */
InvocationSpec *invocation_spec;

/* Information - if any - about how we can turn something of this type
* into a boolean. */
BoolificationSpec *boolification_spec;
Expand Down
2 changes: 1 addition & 1 deletion tools/build/NQP_REVISION
@@ -1 +1 @@
2013.01-35-g63d9ae4
2013.01-43-gf7f8eb6

0 comments on commit 5e5a76f

Please sign in to comment.