Advertisement
Guest User

Untitled

a guest
Jul 2nd, 2015
202
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Delphi 0.31 KB | None | 0 0
  1.  with unitt.Classes.Add do
  2.    begin
  3.       Name := 'TFoo';
  4.       addConstructor('constructor TFoo.Create(TEST_PARAM: Integer);', @Self.classcreate);
  5.       addMethod('function TFoo.foo(s: String): String;', @Self.classmethod);
  6.       addDestructor('destructor TFoo.Destroy; override;', @Self.classdestroy);
  7.    end;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement