Go Back   Cockos Incorporated Forums > Projects > Deprecated REAPER issue tracker > Feature Request

API: Allow EEL passing of NULL pointers to extension exported functions Issue Tools
issueid=5592 06-02-2015 11:24 AM
mpl mpl is offline
Human being with feelings
API: Allow EEL passing of NULL pointers to extension exported functions

EEL doesn't allow passing of NULL pointers to extension exported functions.

For example:


PHP Code:
br_envelope extension_api("BR_EnvAlloc"GetSelectedEnvelope(0), 0);
extension_api("BR_EnvFree",br_envelope1); 
this will work if envelope is selected within REAPER. If however, it is not...BR_EnvAlloc() returns 0. And passing 0 to BR_EnvFree() seems to result in this error:

PHP Code:
'BR_EnvFree' argument 1expected BR_Envelope
Issue Details
Issue Type Feature Request
Project Deprecated REAPER issue tracker
Category Editing behavior
Status Suggested
Priority 5 - Medium
Suggested Version 4.78
Implemented Version (none)
Users who would use this feature 0
Users who would not use this feature 0
Assigned Users (none)
Tags (none)

Reply

Issue Tools
Subscribe to this issue

All times are GMT -7. The time now is 03:02 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.