Вниз
Скачать: CL | DM;

small bug in objects.pas   Найти похожие ветки 

← →
Thaddy   (2006-10-13 16:05) [0]

procedure FreeObjectInstance(ObjectInstance: Pointer);
should be declared as:
procedure FreeObjectInstance(var ObjectInstance: Pointer);

I wonder why we never spotted that before?
There can be cases where it is important that ObjectInstance is explicitly made nil. See the implementation.


← →
Vladimir Kladov   (2006-10-14 11:38) [1]

Sorry, but it is not obvious for me. Though this unit is not from me, I can not see why "var" shoud be there: ObjectInstance is not assigned anywhere in FreeObjectInstance.



Страницы: 1 вся ветка

Скачать: CL | DM;



Память: 0.44 MB
Время: 0.052 c
2-1177077166
s_t_d
2007-04-20 17:52
2007.06.03
QReport в Delphi 7. Как добавить элемент в палитру?


1-1175861729
Wahnsinng
2007-04-06 16:15
2007.06.03
Как отключить сообщение об ошибках


9-1151685359
VolanD666
2006-06-30 20:35
2007.06.03
Нормальный Lightmap


15-1178467183
ArtemESC
2007-05-06 19:59
2007.06.03
OpenSuse 10.2


2-1179185998
delphino
2007-05-15 03:39
2007.06.03
Не могу изменить запись в главной таблице




   Наверх