This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
#------------------------- | |
# Import the dependencies | |
#------------------------- | |
import json, sys | |
#------------------------- | |
#------------------------------------- | |
# Get the file names from the argument |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*! | |
* @function Singleton GCD Macro | |
*/ | |
#ifndef SINGLETON_GCD | |
#define SINGLETON_GCD(classname) \ | |
\ | |
+ (classname *)shared##classname { \ | |
\ | |
static dispatch_once_t pred; \ |
NewerOlder