From: Stepan V. <sv...@vo...> - 2003-05-15 21:41:14
|
Cau, Spousta drobnych nezajimavosti. Asi nejdulezitejsi pro markoida je, ze IDL uz umi nove dva "externi" typy - class a enum. Takze jde delat pole objektu. Aspon doufam, ze to vygeneruje spravnej kod. Zacal jsem taky delat na RPC results, neco je tam nacommitovano, ale nic to nedela, takze se nesnazte v tom vrtat. Dalsi zavazna zmena je, ze misto: Remote< C > r; r->foo(); se pise r->async_foo(); aby bylo jasno, co se tim volanim mysli. Protoze vim, ze me to kdysi davno prudilo, dodelal jsem do neremote pointeru trapnou metodu remote(), kterou se prevede na remote pointer. Takze lze: WeakPointer< C > p; p.remote()->async_foo(); Taky jsem vyresil problem s forward-deklaracemi trid v IDL (pokud se pouzil napr. pointer na tudle forward deklarovanou vec, nesel prelozit generovany kod). Kouknete se do zmen v node_object.idl - uz tam muze byt pointer na AccountObject a ne jak bylo driv na AccountObjectInterface (a pak se to konvertilo dynamicky). -- Stoupik |