forum-msg-id-131978-edit
Original date:2018-02-21 11:50:38 Edited by: begin Subject: Re: wrapper for pdfium
a short test.
how do i allocate memory for doubles and float and then read it as numbers?
object result = 0 atom width = allocate(8), height = allocate(8) atom docHandle c_proc(FPDF_InitLibrary) constant book = allocate_string("3658071664.pdf") docHandle = c_func(FPDF_LoadDocument, {book, 0}) delete(book) integer j = c_func(FPDF_GetPageCount, {docHandle}) integer i = c_func(FPDF_GetPageSizeByIndex, {docHandle, 100, width, height}) c_proc(FPDF_CloseDocument,{docHandle}) c_proc(FPDF_DestroyLibrary) ?j ?i ?peek4u(width) ?peek4u(height)
Not Categorized, Please Help
|