Andreas Krall
Christian Thalinger
- $Id: class.c 2122 2005-03-29 22:12:06Z twisti $
+ $Id: class.c 2148 2005-03-30 16:49:40Z twisti $
*/
list_init(&unlinkedclasses, OFFSET(classinfo, listnode));
if (!c->loaded) {
- if (!class_load(c)) {
+ if (!load_class_bootstrap(c)) {
#if defined(USE_THREADS) && defined(NATIVE_THREADS)
tables_unlock();
#endif
while (tc) {
/* skip the current loaded/linked class */
if (tc != c) {
- if (!class_link(tc)) {
+ if (!link_class(tc)) {
#if defined(USE_THREADS) && defined(NATIVE_THREADS)
tables_unlock();
#endif
}
if (!c->linked) {
- if (!class_link(c)) {
+ if (!link_class(c)) {
#if defined(USE_THREADS) && defined(NATIVE_THREADS)
tables_unlock();
#endif
c = class_new(utf_new(namebuf, namelen));
- /* load this class ;-) and link it */
+ /* load this class and link it */
- if (!c->loaded)
- c->loaded = true;
+ c->loaded = true;
if (!c->linked)
- if (!class_link(c))
+ if (!link_class(c))
return NULL;
return c;