version 1.5, 2017/07/22 11:30:11
|
version 1.6, 2017/07/30 21:59:41
|
Line 17 declareTypeExtension(dup)
|
Line 17 declareTypeExtension(dup)
|
|
|
initializeObject(nObject, oObject); |
initializeObject(nObject, oObject); |
|
|
if (nullified(objectContainer(nObject) = |
if (nullified(objectOf(nObject) = |
malloc(sizeof(XtAppContext)))) |
malloc(sizeof(XtAppContext)))) |
{ |
{ |
typeSystemError; |
typeSystemError; |
} |
} |
|
|
target((sXtAppContext *) objectContainer(nObject)).widget = |
target(objectContainer(sXtAppContext, nObject)).widget = |
target((sXtAppContext *) objectContainer(oObject)).widget; |
target(objectContainer(sXtAppContext, oObject)).widget; |
target((sXtAppContext *) objectContainer(nObject)).context = |
target(objectContainer(sXtAppContext, nObject)).context = |
target((sXtAppContext *) objectContainer(oObject)).context; |
target(objectContainer(sXtAppContext, oObject)).context; |
} |
} |
else if (subType(oObject) == CALLBACK) |
else if (subType(oObject) == CALLBACK) |
{ |
{ |
Line 41 declareTypeExtension(dup)
|
Line 41 declareTypeExtension(dup)
|
|
|
initializeObject(nObject, oObject); |
initializeObject(nObject, oObject); |
|
|
if (nullified(objectContainer(nObject) = |
if (nullified(objectOf(nObject) = |
malloc(sizeof(sXtAppContext)))) |
malloc(sizeof(sXtAppContext)))) |
{ |
{ |
typeSystemError; |
typeSystemError; |
} |
} |
|
|
target((Widget *) objectContainer(nObject)) = |
target(objectContainer(Widget, nObject)) = |
target((Widget *) objectContainer(oObject)); |
target(objectContainer(Widget, oObject)); |
} |
} |
else |
else |
{ |
{ |
Line 66 declareTypeExtension(drop)
|
Line 66 declareTypeExtension(drop)
|
|
|
if (subType(oObject) == APPCONTEXT) |
if (subType(oObject) == APPCONTEXT) |
{ |
{ |
free(objectContainer(oObject)); |
free(objectOf(oObject)); |
} |
} |
else if (subType(oObject) == CALLBACK) |
else if (subType(oObject) == CALLBACK) |
{ |
{ |
free(objectContainer(oObject)); |
free(objectOf(oObject)); |
} |
} |
else if (subType(oObject) == WIDGET) |
else if (subType(oObject) == WIDGET) |
{ |
{ |
free(objectContainer(oObject)); |
free(objectOf(oObject)); |
} |
} |
else |
else |
{ |
{ |
Line 99 declareTypeExtension(disp)
|
Line 99 declareTypeExtension(disp)
|
} |
} |
|
|
sprintf(s, "XtAppContext $ %016llX", |
sprintf(s, "XtAppContext $ %016llX", |
(long long unsigned int) objectContainer(oObject)); |
(long long unsigned int) objectOf(oObject)); |
} |
} |
else if (subType(oObject) == CALLBACK) |
else if (subType(oObject) == CALLBACK) |
{ |
{ |
Line 109 declareTypeExtension(disp)
|
Line 109 declareTypeExtension(disp)
|
} |
} |
|
|
sprintf(s, "Callback $ %016llX", |
sprintf(s, "Callback $ %016llX", |
(long long unsigned int) objectContainer(oObject)); |
(long long unsigned int) objectOf(oObject)); |
} |
} |
else if (subType(oObject) == WIDGET) |
else if (subType(oObject) == WIDGET) |
{ |
{ |
Line 119 declareTypeExtension(disp)
|
Line 119 declareTypeExtension(disp)
|
} |
} |
|
|
sprintf(s, "Widget $ %016llX", |
sprintf(s, "Widget $ %016llX", |
(long long unsigned int) objectContainer(oObject)); |
(long long unsigned int) objectOf(oObject)); |
} |
} |
else |
else |
{ |
{ |