iOS lock step keyboard + metal
This commit is contained in:
10
examples/issue-0033-impl.sx
Normal file
10
examples/issue-0033-impl.sx
Normal file
@@ -0,0 +1,10 @@
|
||||
// Helper that defines the impl. issue-0033's user file does NOT
|
||||
// directly import this — that's the whole point of the test.
|
||||
#import "modules/std.sx";
|
||||
#import "./issue-0033-types.sx";
|
||||
|
||||
impl Into(Wrap) for s64 {
|
||||
convert :: (self: s64) -> Wrap {
|
||||
.{ v = self * 10 };
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user