Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Extend JVM REPR API with multi-dim functions.
  • Loading branch information
jnthn committed Jul 10, 2015
1 parent f847e7b commit 4b6c325
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions src/vm/jvm/runtime/org/perl6/nqp/sixmodel/SixModelObject.java
Expand Up @@ -124,6 +124,24 @@ public void shift_native(ThreadContext tc) {
public void splice(ThreadContext tc, SixModelObject from, long offset, long count) {
throw ExceptionHandling.dieInternal(tc, this.st.REPR.name + " representation does not implement splice");
}
public void at_pos_boxed_multidim(ThreadContext tc, long[] indices) {
throw ExceptionHandling.dieInternal(tc, this.st.REPR.name + " representation does not implement at_pos_boxed_multidim");
}
public void at_pos_multidim_native(ThreadContext tc, long[] indices) {
throw ExceptionHandling.dieInternal(tc, this.st.REPR.name + " representation does not implement at_pos_multidim_native");
}
public void bind_pos_boxed_multidim(ThreadContext tc, long[] indices, SixModelObject value) {
throw ExceptionHandling.dieInternal(tc, this.st.REPR.name + " representation does not implement bind_pos_boxed_multidim");
}
public void bind_pos_native_multidim(ThreadContext tc, long[] indices) {
throw ExceptionHandling.dieInternal(tc, this.st.REPR.name + " representation does not implement bind_pos_native_multidim");
}
public long[] dimensions(ThreadContext tc) {
throw ExceptionHandling.dieInternal(tc, this.st.REPR.name + " representation does not implement dimensions");
}
public void set_dimensions(ThreadContext tc, long[] dimensions) {
throw ExceptionHandling.dieInternal(tc, this.st.REPR.name + " representation does not implement set_dimensions");
}

/**
* Associative access functions.
Expand Down

0 comments on commit 4b6c325

Please sign in to comment.