/**************************************************************************** ** ** This file is part of GAP, a system for computational discrete algebra. ** ** Copyright of GAP belongs to its developers, whose names are too numerous ** to list here. Please refer to the COPYRIGHT file for details. ** ** SPDX-License-Identifier: GPL-2.0-or-later **
*/
#include"trycatch.h"
#include"gaputils.h"
static ThrowObserver throwObservers[16];
int RegisterThrowObserver(ThrowObserver func)
{ for (int i = 0; i < ARRAY_SIZE(throwObservers); ++i) { if (throwObservers[i] == func) { return 1;
} if (throwObservers[i] == 0) {
throwObservers[i] = func; return 1;
}
} return 0;
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.