Patches item #1603003, was opened at 2006-11-25 23:50 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=478072&aid=1603003...
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: puredata Group: feature Status: Open Resolution: None Priority: 5 Private: No Submitted By: Hans-Christoph Steiner (eighthave) Assigned to: Miller Puckette (millerpuckette) Summary: expose sys_register_loader() in header
Initial Comment:
sys_register_loader() is meant to allow people to add new library and class formats to Pd. In order for this to be used, sys_register_loader() needs to be exposed in some header.
This simple patch exposes it in s_stuff.h.
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=478072&aid=1603003...
SourceForge.net wrote:
sys_register_loader() is meant to allow people to add new library and class formats to Pd. In order for this to be used, sys_register_loader() needs to be exposed in some header.
This simple patch exposes it in s_stuff.h.
hmm, the only public header for pd is m_pd.h (btw, see my feature request to make official header be "pd.h"). so i would recommend to put it into this header file if you want people to use it.
mfg.asdr IOhannes
On Nov 26, 2006, at 4:14 AM, IOhannes m zmoelnig wrote:
SourceForge.net wrote:
sys_register_loader() is meant to allow people to add new library and class formats to Pd. In order for this to be used, sys_register_loader() needs to be exposed in some header.
This simple patch exposes it in s_stuff.h.
hmm, the only public header for pd is m_pd.h (btw, see my feature request to make official header be "pd.h"). so i would recommend to put it into this header file if you want people to use it.
IIRC, s_stuff.h is kind of the stepping stone to m_pd.h, where s_stuff.h might still be in flux, while the things in m_pd.h are more or less ironed out. If I am wrong in my assumption, I'll change it to something more appropriate. Here's the comment at the top of s_stuff.h:
/* Audio and MIDI I/O, and other scheduling and system stuff. */
/* NOTE: this file describes Pd implementation details which may change in future releases. The public (stable) API is in m_pd.h. */
Ultimately I hope it ends up in m_pd.h, but s_stuff.h is fine for now, and perhaps more likely to happen.
.hc
------------------------------------------------------------------------
"[W]e have invented the technology to eliminate scarcity, but we are deliberately throwing it away to benefit those who profit from scarcity." -John Gilmore