Exemple #1
0
static cssSystem * cssSystemInit(cssSystem * _this){
    
    cssObjectInit(cssAs(cssObject*, _this));
    
    _this->_isLogOn = false;
    _this->_pendingReleaseList = cssListInit(cssAlloc(cssList));
    _this->gc = &cssSystemGc;
    
    _this->_onObjectDelloc = _this->onDelloc;
    _this->onDelloc = &cssSystemOnDelloc;
    _this->logOff = &cssSystemLogOff;
    _this->logOn = &cssSystemLogOn;
    _this->isLogOn = &cssSystemIsLogOn;
    
    return _this;
}
Exemple #2
0
cssList * cssListCreate(){
	return cssListInit(cssAlloc(cssList));
}