• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to release Cocoa objects from Perl? (PerlObjCBridge or CamelBones)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to release Cocoa objects from Perl? (PerlObjCBridge or CamelBones)


  • Subject: Re: How to release Cocoa objects from Perl? (PerlObjCBridge or CamelBones)
  • From: Sherm Pendley <email@hidden>
  • Date: Thu, 6 Oct 2005 15:12:11 -0400

On Oct 6, 2005, at 8:39 AM, Stephen Sample wrote:

But looking at the examples for CamelBones (and any other tutorials online), I can't figure out how to release the memory for the Cocoa objects from within Perl. My case is somewhat different in that I don't have a UI, and so I'm basically running a straight Perl.

Use CamelBones from command-line tools is a relatively recent addition - which is why this has escaped testing until now.


I've tried the Cocoa-style

     $cocoaObjectName->release;

but that gives me an error of

perl[5912] Unknown return type Vv

Vv is the type encoding for "oneway void", which is the declared return type for -release. Sure enough, that's not supported yet. It'll be trivial for me to add support for it, certainly - it's void, so there's nothing to support. ;-)


It'll take me a day or so to patch the code and make a release.

sherm--

Cocoa programming in Perl: http://camelbones.sourceforge.net
Hire me! My resume: http://www.dot-app.org

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: How to release Cocoa objects from Perl? (PerlObjCBridge or CamelBones)
      • From: Stephen Sample <email@hidden>
References: 
 >How to release Cocoa objects from Perl? (PerlObjCBridge or CamelBones) (From: Stephen Sample <email@hidden>)

  • Prev by Date: Re: Printing multiple pages from drawRect:
  • Next by Date: Undo / Redo
  • Previous by thread: How to release Cocoa objects from Perl? (PerlObjCBridge or CamelBones)
  • Next by thread: Re: How to release Cocoa objects from Perl? (PerlObjCBridge or CamelBones)
  • Index(es):
    • Date
    • Thread