Commit graph

9 commits

Author SHA1 Message Date
mccallum
c20c905fe0 (behavior_class_add_class): Function renamed from class_add_behavior.
Add more explanation to NSCAssert().
(class_add_behavior): New function, calling above function.
(behavior_class_add_category): New function.
(behavior_class_add_methods): Function renamed from
class_add_methods_if_not_there.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1325 72102866-910b-0410-8b05-ffd578937521
1996-03-31 22:46:14 +00:00
mccallum
e5e9e8c0e8 Include <objects/stdobjects.h>.
(class_add_behavior): Use NSCAssert() to make sure that we don't try
to increase the instance size of a class that has been subclassed;
(hopeless ivar layout confusion would result).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1319 72102866-910b-0410-8b05-ffd578937521
1996-03-31 21:54:02 +00:00
mccallum
74187fde91 (class_add_behavior): Fix typo.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@839 72102866-910b-0410-8b05-ffd578937521
1996-01-26 16:25:32 +00:00
mccallum
98d8f79350 (class_add_behavior): If necessary, increase instance_size of class to
which behavior is being added.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@838 72102866-910b-0410-8b05-ffd578937521
1996-01-26 15:48:29 +00:00
mccallum
044d1039b5 Added comment about superclass methods being overriden.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@576 72102866-910b-0410-8b05-ffd578937521
1995-08-23 15:44:15 +00:00
mccallum
45ed6fb8c2 (class_add_methods_if_not_there): Only put method implementation in
dtable if the dtable is already installed, otherwise, just add it to
the class's methods list and let
__objc_install_dispatch_table_for_class put it in.  Also, change
arguments.  All callers updated.
(check_class_methods): New function.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@284 72102866-910b-0410-8b05-ffd578937521
1995-04-05 20:13:39 +00:00
mccallum
3cfffe79bd Added comment.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@267 72102866-910b-0410-8b05-ffd578937521
1995-04-04 16:13:42 +00:00
mccallum
aaf5d23cf9 (behavior_debug): Fix typo in variable name use.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@221 72102866-910b-0410-8b05-ffd578937521
1995-04-01 18:01:15 +00:00
mccallum
526ca6e886 Initial revision
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@206 72102866-910b-0410-8b05-ffd578937521
1995-03-24 21:50:00 +00:00