Make it possible to return VideoStream and PrebuiltClip

This commit is contained in:
Frank M. Kromann 2004-09-07 19:40:18 +00:00
parent a85bff9796
commit aa25757136

View file

@ -238,6 +238,10 @@ static SWFCharacter getCharacter(zval *id TSRMLS_DC)
return (SWFCharacter)getBitmap(id TSRMLS_CC);
else if(Z_OBJCE_P(id) == sound_class_entry_ptr)
return (SWFCharacter)getSound(id TSRMLS_CC);
else if(Z_OBJCE_P(id) == videostream_class_entry_ptr)
return (SWFCharacter)getVideoStream(id TSRMLS_CC);
else if(Z_OBJCE_P(id) == prebuiltclip_class_entry_ptr)
return (SWFCharacter)getPrebuiltClip(id TSRMLS_CC);
/*
else if(Z_OBJCE_P(id) == soundinstance_class_entry_ptr)
return (SWFCharacter)getSoundInstance(id TSRMLS_CC);