Welcome to the CHICKEN Scheme pasting service

It gives me `‘C_SIZEOF_STRUCT’ was not declared in this scope`. added by zilti on Sun Oct 4 01:25:50 2020

(define dos_qvariantarray_create
  (foreign-lambda* scheme-object ((int size)
                                  (pointer-vector data))
    "DosQVariantArray qva = {.size = size, .data = data};"
    "C_word* ptr = C_alloc(4);"
    "int struct_size = C_SIZEOF_STRUCT(3);"
    "C_return(C_structure(&ptr, struct_size, qva));"))

Your annotation:

Enter a new annotation:

Your nick:
The title of your paste:
Your paste (mandatory) :
What's the R5RS procedure to access the second element of a pair?
Visually impaired? Let me spell it for you (wav file) download WAV