Tingpeng, Do you want to do it from VM core source? If yes, then you should use class_alloc_new_object_and_run_constructor. Look in VM core code for examples on how to use this.
Regards, Pavel. On 5/11/07, Tingpeng Wu <[EMAIL PROTECTED]> wrote:
Assuming there is an class named A, statement A a = new A(args list...) should do two tasks. 1) allocate space for object a 2) initialize the object a according to args list I am interested in how to select a proper constructor to initilize the object according to args list. Does anyone knows the location of correlation sourcecode in harmony? Thanks, tingpeng
-- Pavel Pervov, Intel Enterprise Solutions Software Division
