Copy link to clipboard
Copied
I know of no such method.
As you point out, 'flat' basic data types work fine. Vectors and maps are in-memory structures, preventing them from being easily passed across the JavaScript <--> C++ boundary.
What is it you're trying to create?
Copy link to clipboard
Copied
I know of no such method.
As you point out, 'flat' basic data types work fine. Vectors and maps are in-memory structures, preventing them from being easily passed across the JavaScript <--> C++ boundary.
What is it you're trying to create?
Copy link to clipboard
Copied
Is it possible to change the taggedData structure in the samples provided in the ExtendScript toolkit SDK?
Copy link to clipboard
Copied
I doubt it; JavaScript doesn't have any concept like a C 'union'. Also, notice that I mentioned 'flat' data structures? The 'string' and 'hObject' members of that union variable point outside the actual tagged data structure, to external memory. That's 'un-flat', and will never successfully get passed across a C / ExtendScript boundary.
Still, PPro's ExtendScript API allows for full control over the XMP associated with any given media.
So, again; what is it you're trying to create?
Copy link to clipboard
Copied
I'am creating an extension for PPro and some major operations are done in c++,so i need to pass vectors and maps from javascript to c++
Example
var cars=["bmw","benz"];
i need to pass cars object to c++ shared library, but TaggedData structure does'nt support this, so i was wondering if there is some other way i can pass this cars object
Copy link to clipboard
Copied
Let's leave aside the implementation details for a moment...
Could you provide an overview of the workflow(s) you'd like to support, from the user's perspective? That will help me give better guidance. [write me at b b b at adobe dot com, if you'd rather not discuss those workflows in public.]