# Wrapping a library

- libhello.c
- libhello.h

How to wrap a C/C++ library, so its functions can be called from Gambas?

## libhello.c

    /* libhello.c - demonstrate library use. */

    #include <stdio.h>

    void hello(void) {
      printf("Hello, library world.\n");
    }

## libhello.h

    /* libhello.h - demonstrate library use. */

    void hello(void);

From this simple example, can we create the `main.c` and `main.h` files as described in the main file topic?