FreeBASIC  0.91.0
hdynload.c File Reference
#include "../fb.h"
#include "../fb_private_hdynload.h"
Include dependency graph for hdynload.c:

Go to the source code of this file.

Macros

#define hDylibFree(lib)   FreeLibrary( lib )
 
#define hDylibSymbol(lib, sym)   GetProcAddress( lib, sym )
 

Functions

FB_DYLIB fb_hDynLoad (const char *libname, const char **funcname, void **funcptr)
 
int fb_hDynLoadAlso (FB_DYLIB lib, const char **funcname, void **funcptr, ssize_t count)
 
void fb_hDynUnload (FB_DYLIB *lib)
 

Macro Definition Documentation

#define hDylibFree (   lib)    FreeLibrary( lib )

Definition at line 6 of file hdynload.c.

#define hDylibSymbol (   lib,
  sym 
)    GetProcAddress( lib, sym )

Definition at line 7 of file hdynload.c.

Function Documentation

FB_DYLIB fb_hDynLoad ( const char *  libname,
const char **  funcname,
void **  funcptr 
)

Definition at line 9 of file hdynload.c.

int fb_hDynLoadAlso ( FB_DYLIB  lib,
const char **  funcname,
void **  funcptr,
ssize_t  count 
)

Definition at line 29 of file hdynload.c.

void fb_hDynUnload ( FB_DYLIB lib)

Definition at line 43 of file hdynload.c.