summaryrefslogtreecommitdiff
path: root/src/libcrawler/libcrawler.cpp
blob: 0c549a48ea51ade8ce73df50a559d8167a4310a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include "libcrawler.hpp"

#include <iostream>

#ifdef WITH_LUA
#include "tolua.h"
#include "URLLua.hpp"
#include "LuaVM.hpp"
#endif

void initialize_libcrawler( void *user_data )
{
#ifdef WITH_LUA
	LuaVM *vm = (LuaVM *)user_data;
	tolua_URL_open( vm->handle( ) );
#endif
}