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

s3d_get_callback - get callback of event

Author

SimonWunderlich
           Author of s3d

s3d                                                                                          S3D_GET_CALLBACK(3)

Description

       Returns the Callback-function of the event.

            struct s3d_evt e;
            ...
            s3d_get_callback(S3D_EVENT_KEY)(e);
            // will call the key-handling function with argument e.

Name

       s3d_get_callback - get callback of event

Synopsis

#include<s3d.h>s3d_cbs3d_get_callback(uint8_tevent);

See Also