1. Ronald Oussoren
  2. pyobjc
  3. Issues

Issues

Issue #32 new

Better block support needed

Ronald Oussoren
repo owner created an issue

The current support code for blocks is suboptimal: the prototype information is extract either from the metadata system, or the block runtime, but not both.

Update the block support to extract the signature from the runtime (when available), and optionally update that using the metadata system.

This should result in slightly cleaner code, blocks that "just work" (for example when extracting a block from an array of blocks), and nicer metadata (only add block metadata when the block has a 'difficult' signature like a 'BOOL*' argument).

Comments (1)

  1. Log in to comment