API: Allow EEL passing of NULL pointers to extension exported functions
|
06-02-2015 11:24 AM
|
|
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_envelope, 1);
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 1: expected BR_Envelope*
|
|
Issue Details
|
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)
|
|
All times are GMT -7. The time now is 03:02 AM.