DVX_GUI/unused/samples/library/mylib.h

21 lines
490 B
C

// mylib.h -- Sample DVX library public header
//
// A library exports functions via DXE3 symbol sharing.
// Any module loaded after this library can call its functions
// directly — no import library or dlsym needed.
#ifndef MYLIB_H
#define MYLIB_H
#include <stdint.h>
// Add two integers
int32_t myLibAdd(int32_t a, int32_t b);
// Multiply two integers
int32_t myLibMul(int32_t a, int32_t b);
// Return the library version string
const char *myLibVersion(void);
#endif // MYLIB_H