Skip to content

Instantly share code, notes, and snippets.

@malkia
Created April 1, 2011 13:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save malkia/898172 to your computer and use it in GitHub Desktop.
Save malkia/898172 to your computer and use it in GitHub Desktop.
LuaJIT 2.0.0-beta6 -- Copyright (C) 2005-2011 Mike Pall. http://luajit.org/
JIT: ON CMOV SSE2 SSE3 fold cse dce fwd dse narrow loop abc fuse
>
1
2
__index: importing from library <userdata: 0x0004f2e0>
into table <table: 0x0004f398>
the symbol curl_easy_init = cdata<void **()>: 0x00043820
3
curl_easy_init cdata<void **()>: 0x00043820
4
cdata<void **()>: 0x00043820
cdata<void **()>: 0x00043820
cdata<void **()>: 0x00043820
__newindex: adding to table <table: 0x0004f398>
the symbol curl_new_function = function: 0x0004f9b0
__newindex: adding to table <table: 0x0004f398>
the symbol curl_easy_cleanup1 = function: 0x0004fbd8
__index: importing from library <userdata: 0x0004f2e0>
into table <table: 0x0004f398>
the symbol curl_easy_cleanup = cdata<void ()>: 0x000437e8
This should not work
This should not work 1
This should not work 2
__newindex function: 0x0004f488
__index function: 0x0004f420
curl_easy_cleanup function: 0x00050030
curl_easy_cleanup1 function: 0x0004fbd8
curl_easy_init cdata<void **()>: 0x00043820
curl_new_function function: 0x0004f9b0
>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment