Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

TXInitTextension changes current port?



TXNInitTextension changes the current port without being documented as doing so:

GetPort(&before);
OSStatus error = TXNInitTextension(&defaults, 1, kTXNWantMoviesMask | kTXNWantSoundMask | kTXNWantGraphicsMask);
GetPort(&after);
check_string(before == after, "TXNInitTextension changed the current port");

It'll assert.

I'm not sure that APIs should be implicitly changing the port on developers. Not sure if this is a bug in MLTE or an oversight in the documentation. I'd say a bug in MLTE.

I've reported this as bug 3259049 for what it's worth.

Bryan
_______________________________________________
carbon-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/carbon-development
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.