コード例 #1
0
ファイル: error_stack.cpp プロジェクト: Aligorith/blender
void IOTracePopStr(char* buffer,int size) {
    if (errorstack.empty()) {
        *buffer = 0;
        return;
    }
    strncpy(buffer,errorstack.top().c_str(),size);
    errorstack.pop();
}
コード例 #2
0
ファイル: error_stack.cpp プロジェクト: Aligorith/blender
void IOTraceOutput(std::ostream& os) {
    while (!errorstack.empty()) {
        os << errorstack.top().c_str() << std::endl;
        errorstack.pop();
    }
}