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

#include <iostream>

#include "Unused.hpp"

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

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