Skip to content

AFNI and NIfTI Server for NIMH/NIH/PHS/DHHS/USA/Earth

Sections
Personal tools
You are here: Home » AFNI » Documentation » FAQs » I duplicated a plugin and then edited it, but can't get both it and the original to work at once!

I duplicated a plugin and then edited it, but can't get both it and the original to work at once!

Document Actions
Up to table of contents

Q42. I duplicated a plugin and then edited it, but can't get both it and the original to work at once!
This problem can arise when two separate plugins have routines with the same name, which is likely to arise when you create one plugin by copying and changing another. The two ways around this problem are
  • Change all the function names in the copy.
  • Declare all functions (in both plugins) as static (except for PLUGIN_init).
This difficulty has only been observed on HP-UX systems. SGI IRIX and Linux systems correctly handle the name space separation between different dynamic objects.

This FAQ applies to: Any version.

Created by Robert Cox
Last modified 2005-07-31 23:38
 

Powered by Plone

This site conforms to the following standards: