Ticket #1179 (closed defect: fixed)

Opened 11 months ago

Last modified 11 months ago

[PATCH] Tweak definition of MVChatString to fix type encodings

Reported by: eridius Assigned to: timothy
Priority: highest Component: Chat Core (IRC)
Version: Latest 2.1 Severity: blocker
Keywords: Cc:

Description

@encode() doesn't handle typedefs the same way as native classes, so every usage of MVChatString * in Chat Core is encoded as {NSAttributedString=#} rather than @. The practical effect this has is F-Script can no longer use the sendMessage:... methods as they want an FSPointer instead of an NSAttributedString.

The attached patch changes the typedefs into #defines, which fixes the encoding.

Attachments

MVChatString.h.diff (509 bytes) - added by eridius on 01/11/08 18:36:03.

Change History

01/11/08 18:36:03 changed by eridius

  • attachment MVChatString.h.diff added.

01/11/08 18:37:36 changed by eridius

Ack, WikiFormatting destroyed my message. The erroneous encoding is ^{NSAttributedString=#}

01/19/08 00:44:58 changed by timothy

  • status changed from new to closed.
  • resolution set to fixed.

Landed in [3774].