Advertisement
Guest User

Untitled

a guest
Dec 26th, 2016
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.32 KB | None | 0 0
  1. // Generated by Haxe 3.4.0
  2. using haxe.root;
  3.  
  4. #pragma warning disable 109, 114, 219, 429, 168, 162
  5. public class Foo{
  6.  
  7. public Foo() {
  8. this._test2 = new global::Bar();
  9. global::Bar test3 = new global::Bar();
  10. ((global::System.Action) (this.testAction) ).Invoke();
  11. global::haxe.lang.Function hxfunc = ((global::haxe.lang.Function) (new global::haxe.lang.Closure(this._test2, "testAction", 792363432)) );
  12. ((global::System.Action) (new global::HaxeMain_new_24__Fun(hxfunc).Delegate) ).Invoke();
  13. ((global::System.Action) (test3.testAction) ).Invoke();
  14. }
  15.  
  16.  
  17. public static void main() {
  18. new global::HaxeMain();
  19. }
  20.  
  21.  
  22. public global::Bar _test2;
  23.  
  24. public virtual void testAction() {
  25. }
  26.  
  27.  
  28. }
  29.  
  30.  
  31.  
  32. #pragma warning disable 109, 114, 219, 429, 168, 162
  33. public class HaxeMain_new_24__Fun : global::haxe.lang.Function {
  34.  
  35. public HaxeMain_new_24__Fun(global::haxe.lang.Function hxfunc) : base(0, 0) {
  36. this.hxfunc = hxfunc;
  37. }
  38.  
  39.  
  40. public override object __hx_invoke0_o() {
  41. this.Delegate();
  42. return null;
  43. }
  44.  
  45.  
  46. public void Delegate() {
  47. this.hxfunc.__hx_invoke0_o();
  48. }
  49.  
  50.  
  51. public global::haxe.lang.Function hxfunc;
  52.  
  53. }
  54.  
  55.  
  56.  
  57. #pragma warning disable 109, 114, 219, 429, 168, 162
  58. public class Bar {
  59.  
  60. public Bar() {
  61. }
  62.  
  63.  
  64. public virtual void testAction() {
  65. }
  66.  
  67.  
  68. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement