logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

vpSetClientData - define a client data pointer

Arguments

vpc    VolPack context from vpCreateContext.client_data
              Pointer to application-specific client data.

Description

vpSetClientData  is  used  to store a pointer to application-specific client data in the VolPack context.
       This pointer is passed to some of the callback routines (see vpSetCallback(3)) to allow  the  application
       to define its own state variables.  The pointer is not used by VolPack.

Errors

       The return value is always VP_OK.

Name

       vpSetClientData - define a client data pointer

See Also

VolPack(3), vpCreateContext(3), vpSetCallback(3)

VolPack                                                                                       vpSetClientData(3)

Synopsis

       #include <volpack.h>

       vpResult
       vpSetClientData(vpc,client_data)
           vpContext *vpc;
           void *client_data;

See Also