Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Jul 10th, 2012  |  syntax: None  |  size: 0.29 KB  |  hits: 10  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. extern void _objcInit(void);
  2.  
  3. __attribute__((constructor))
  4. static void MyModuleInitializer()
  5. {
  6.         dLogFnEnter();
  7.     static initialized = 0;
  8.     if (!initialized)
  9.     {
  10.         // Initialization code.
  11.         initialized = 1;
  12.                 _objcInit();
  13.                 dLogSetDebugLevel(1);
  14.     }
  15.         dLogFnExit();
  16. }