Skip to content
Browse files

removing unneeded backslashes

  • Loading branch information...
1 parent 1ff18b4 commit ca23c42b4a0a212efa9bb61eb01762e2271b878b @FROGGS committed Dec 25, 2012
Showing with 6 additions and 7 deletions.
  1. +6 −7 lib/Inline/C.pm
View
13 lib/Inline/C.pm
@@ -1,4 +1,3 @@
-
module Inline::C;
use File::Spec;
@@ -162,7 +161,7 @@ my class CArray is export(:types, :DEFAULT) is repr('CArray') {
method at_pos(CArray:D: $pos) { die "CArray cannot be used without a type" }
my role IntTypedCArray[::TValue] does Positional[TValue] {
- multi method at_pos(::?CLASS:D \$arr: $pos) is rw {
+ multi method at_pos(::?CLASS:D $arr: $pos) is rw {
Proxy.new:
FETCH => method () {
nqp::p6box_i(nqp::r_atpos_i($arr, nqp::unbox_i($pos.Int)))
@@ -172,7 +171,7 @@ my class CArray is export(:types, :DEFAULT) is repr('CArray') {
self
}
}
- multi method at_pos(::?CLASS:D \$arr: int $pos) is rw {
+ multi method at_pos(::?CLASS:D $arr: int $pos) is rw {
Proxy.new:
FETCH => method () {
nqp::p6box_i(nqp::r_atpos_i($arr, $pos))
@@ -188,7 +187,7 @@ my class CArray is export(:types, :DEFAULT) is repr('CArray') {
}
my role NumTypedCArray[::TValue] does Positional[TValue] {
- multi method at_pos(::?CLASS:D \$arr: $pos) is rw {
+ multi method at_pos(::?CLASS:D $arr: $pos) is rw {
Proxy.new:
FETCH => method () {
nqp::p6box_n(nqp::r_atpos_n($arr, nqp::unbox_i($pos.Int)))
@@ -198,7 +197,7 @@ my class CArray is export(:types, :DEFAULT) is repr('CArray') {
self
}
}
- multi method at_pos(::?CLASS:D \$arr: int $pos) is rw {
+ multi method at_pos(::?CLASS:D $arr: int $pos) is rw {
Proxy.new:
FETCH => method () {
nqp::p6box_n(nqp::r_atpos_n($arr, $pos))
@@ -214,7 +213,7 @@ my class CArray is export(:types, :DEFAULT) is repr('CArray') {
}
my role TypedCArray[::TValue] does Positional[TValue] {
- multi method at_pos(::?CLASS:D \$arr: $pos) is rw {
+ multi method at_pos(::?CLASS:D $arr: $pos) is rw {
Proxy.new:
FETCH => method () {
nqp::r_atpos($arr, nqp::unbox_i($pos.Int))
@@ -224,7 +223,7 @@ my class CArray is export(:types, :DEFAULT) is repr('CArray') {
self
}
}
- multi method at_pos(::?CLASS:D \$arr: int $pos) is rw {
+ multi method at_pos(::?CLASS:D $arr: int $pos) is rw {
Proxy.new:
FETCH => method () {
nqp::r_atpos($arr, $pos)

0 comments on commit ca23c42

Please sign in to comment.
Something went wrong with that request. Please try again.