main.cpp 318 Bytes
Newer Older
1 2
#include "../../src/API/vlmc_module.h"

3 4
#include <stdio.h>

5
vlmc_module_begin()
6
        printf("Initializing sample_module\n");
7 8 9 10
vlmc_module_end()

static  vlmc_return_type_t  Open( void* pv_module )
{
11
    create_p_module( pv_module );
12

13 14
    vlmc_add_variable_int( p_module, "test_var", 0 );
    return VLMC_SUCCESS;
15 16
}