Difference between revisions of "Truxton file export set truxton"
Jump to navigation
Jump to search
(Created page with "This method sets the Truxton object for an export. =Syntax= <source lang="C"> int truxton_file_export_set_truxton( uint64_t export_handle, uint64_t truxton_handle ); </source...") |
(→Sample) |
||
| Line 18: | Line 18: | ||
=Sample= | =Sample= | ||
| − | <source lang="C" highlight=" | + | <source lang="C" highlight="3"> |
void export_to_another_truxton( uint64_t export, uint64_t that_other_truxton ) | void export_to_another_truxton( uint64_t export, uint64_t that_other_truxton ) | ||
{ | { | ||
Latest revision as of 08:59, 28 January 2024
This method sets the Truxton object for an export.
Syntax
int truxton_file_export_set_truxton( uint64_t export_handle, uint64_t truxton_handle );
Parameters
export_handle
The handle created by the truxton_file_export_create() call.
truxton_handle
The Truxton instance this exporter will be working with.
This handle comes from calling truxton_create().
Return value
A non-zero value on success, zero on failure.
Sample
void export_to_another_truxton( uint64_t export, uint64_t that_other_truxton )
{
if ( truxton_file_export_set_truxton( export, that_other_truxton ) != 0 )
{
truxton_file_export_execute( export );
}
}