BOOL return values

Help
bthayward
2005-11-07
2013-04-25
  • bthayward

    bthayward - 2005-11-07

    Is it possible to return an Objective C BOOL datatype from a camelbones perl subrutine?

    The datatype section of the documentation lists a bunch of datatypes, but none of which are BOOL.

    To give a little more detail, I am trying to implement the tableView:shouldEditTableColumn:row: method of the NSTableViews class.  The method returns a BOOL type.

     
    • Sherm Pendley

      Sherm Pendley - 2005-11-08

      Objective-C's BOOL (unlike C++'s bool) is just a typedef - it's really a char. So you can declare BOOLs as 'c'. (I'll make a note of that in the docs.)

       

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks