#484 add setup() function to hexname objs to guarantee loading

bugfix
closed-accepted
externals (63)
5
2012-12-23
2012-12-21
No

When objects like ||~, &&~, etc are installed with a symlink to the 0x file name, they don't load because they can't find the setup function. They are looking for setup_0x7c0x7c_tilde(). Now that loading from setup() is included in Pd-vanilla 0.44 and Pd-extended 0.43.4, this patch adds setup() aliases to ensure that these objects load no matter what the filename is.

Discussion

  • IOhannes m zmölnig

    this will never link when zexy is compiled as a a multi-object library.

    when providing patches, please check whether they work with the _recommended_ way of using zexy.
    (e.g. at least use #ifdef ZEXY_LIBRARY to protect multiple definitions of the same functions)

     
  • Hans-Christoph Steiner

    I added #ifndef ZEXY_LIBRARY and it built and linked a zexy.pd_linux. Hope I did it right, the updated patch is attached.

     
  • Hans-Christoph Steiner

    well, it seems that sourceforge has a bug, it won't let me upload the new patch, so I'm emailing it to you. I keep getting "File upload: ArtifactFile: Could not open file for writing"

     
  • IOhannes m zmölnig

    • status: open --> closed-accepted
     


Anonymous

Cancel  Add attachments





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

Sign up for the SourceForge newsletter:





No, thanks