mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-17 01:33:16 +03:00
Log library open attempts
This commit is contained in:
parent
c2eb205685
commit
30cdaa1aa9
@ -18,10 +18,12 @@
|
|||||||
|
|
||||||
#include "amiga/libs.h"
|
#include "amiga/libs.h"
|
||||||
#include "utils/utils.h"
|
#include "utils/utils.h"
|
||||||
|
#include "utils/log.h"
|
||||||
|
|
||||||
#include <proto/exec.h>
|
#include <proto/exec.h>
|
||||||
|
|
||||||
#define AMINS_LIB_OPEN(LIB, LIBVER, PREFIX, INTERFACE, INTVER) \
|
#define AMINS_LIB_OPEN(LIB, LIBVER, PREFIX, INTERFACE, INTVER) \
|
||||||
|
LOG(("Opening %s v%d", LIB, LIBVER)); \
|
||||||
if((PREFIX##Base = OpenLibrary(LIB, LIBVER))) { \
|
if((PREFIX##Base = OpenLibrary(LIB, LIBVER))) { \
|
||||||
I##PREFIX = (struct PREFIX##IFace *)GetInterface(PREFIX##Base, INTERFACE, INTVER, NULL); \
|
I##PREFIX = (struct PREFIX##IFace *)GetInterface(PREFIX##Base, INTERFACE, INTVER, NULL); \
|
||||||
} else { \
|
} else { \
|
||||||
|
Loading…
Reference in New Issue
Block a user