Truxton start

From truxwiki.com
Jump to navigation Jump to search

Initializes the Truxton library. It will automatically be called by [truxton_create]] and is safe to call multiple times.

Syntax

void truxton_start( void );

Sample

void main()
{
    char version[256];

    truxton_start();

    uint64_t truxton = truxton_create();

    truxton_get_version( truxton, version, sizeof(version) );

    printf( "%s\n", version );

    truxton_destroy( truxton );

    truxton_stop();
}