Guest User

Untitled

a guest
Jul 18th, 2018
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. private void swigDirectorConnect() {
  2. director_basic.director_basic_im.SwigDirector_A_Callback3 callback3;
  3. if (swigIsMethodOverridden!(int delegate(), int function(), rg)()) {
  4. }
  5. }
  6.  
  7. private bool swigIsMethodOverridden(DelegateType, FunctionType, alias fn)() {
  8. DelegateType dg = &fn;
  9. return dg.funcptr != SwigNonVirtualAddressOf!(FunctionType, fn);
  10. }
  11.  
  12. private static Function SwigNonVirtualAddressOf(Function, alias fn)() {
  13. return cast(Function) &fn;
  14. }
Add Comment
Please, Sign In to add comment