Created
February 13, 2013 07:14
-
-
Save dhotson/4942839 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ccv_dense_matrix_t* image = 0 | |
image = Array(Ptr{Void},0) | |
# int ccv_read_impl(const void* in, ccv_dense_matrix_t** x, int type, int rows, int cols, int scanline); | |
r = ccall( | |
(:ccv_read_impl, "libccv"), | |
Int32, | |
(Ptr{Uint8}, Ptr{Ptr{Void}}, Int, Int, Int, Int), | |
"/home/vagrant/dev/julia/test.png", image, 0x100 | 0x020, 0, 0, 0) | |
println(image[1]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment