Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
src_corelib_plugin_qlibrary.cpp File Reference

Go to the source code of this file.

Macros

#define MY_EXPORT
 [3]
 

Typedefs

typedef void(* MyPrototype) ()
 [0]
 
typedef int(* AvgFunction) (int, int)
 [1]
 

Functions

 if (myFunction) myFunction()
 
 if (avg) return avg(5
 
MY_EXPORT int avg (int a, int b)
 [2]
 

Variables

QLibrary myLib ("mylib")
 [0]
 
MyPrototype myFunction = (MyPrototype) myLib.resolve("mysymbol")
 [0]
 
AvgFunction avg = (AvgFunction) library->resolve("avg")
 
else return
 

Macro Definition Documentation

◆ MY_EXPORT

#define MY_EXPORT

[3]

[4]

Definition at line 45 of file src_corelib_plugin_qlibrary.cpp.

Typedef Documentation

◆ AvgFunction

typedef int(* AvgFunction) (int, int)

[1]

[2]

Definition at line 23 of file src_corelib_plugin_qlibrary.cpp.

◆ MyPrototype

typedef void(* MyPrototype)()

[0]

[1]

Definition at line 6 of file src_corelib_plugin_qlibrary.cpp.

Function Documentation

◆ avg()

MY_EXPORT int avg ( int  a,
int  b 
)

[2]

[3]

Definition at line 34 of file src_corelib_plugin_qlibrary.cpp.

◆ if() [1/2]

if ( avg  )

◆ if() [2/2]

if ( myFunction  )

Variable Documentation

◆ avg

AvgFunction avg = (AvgFunction) library->resolve("avg")

Definition at line 25 of file src_corelib_plugin_qlibrary.cpp.

Referenced by load_glyph_image_to_texture().

◆ myFunction

void myFunction = (MyPrototype) myLib.resolve("mysymbol")

[0]

[1]

Definition at line 7 of file src_corelib_plugin_qlibrary.cpp.

Referenced by wrapInFunction().

◆ myLib

QLibrary myLib("mylib") ( "mylib"  )

[0]

◆ return

SSL_CTX int(*) DEFINEFUNC3 void DUMMYARG SSL const unsigned char unsigned return(void, SSL_CTX_set_alpn_select_cb, SSL_CTX *s, s, int(*cb)(SSL *ssl, const unsigned char **out, unsigned char *outlen, const unsigned char *in, unsigned int inlen, void *arg), cb, void *arg, arg, return, DUMMYARG) DEFINEFUNC3(void