Advertisement
Guest User

Untitled

a guest
Sep 20th, 2014
240
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. use NativeCall;
  2.  
  3. class TopWindow {...}
  4.  
  5. class TopWindow is repr('CPointer') is export {
  6.  
  7. sub TopWindow_TopWindow_c() returns TopWindow is symbol('TopWindow_TopWindow_c') is native("whatever") { * }
  8.  
  9. multi method new() returns TopWindow {
  10. return TopWindow_TopWindow_c();}
  11.  
  12. }
  13.  
  14.  
  15. my $t = TopWindow.new();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement