Welcome to the CHICKEN Scheme pasting service

fast ascii utf-8 added by iterrogo on Fri Mar 27 18:34:00 2015

(define-external ws_utlen int len)
(define-external ws_uts scheme-pointer s)
(= 1
   ((foreign-lambda* int ()
      "
    if (ws_utlen > UINT_MAX) { return -1; }

    int i;
    for (i = ws_utlen; i != 0; --i)
    {
        if (*((unsigned char*)ws_uts++) > 127)
        {
            C_return(0);
        }
    }

    C_return(1);
")))

Your annotation:

Enter a new annotation:

Your nick:
The title of your paste:
Your paste (mandatory) :
What type of object does `for-each' expect as second argument?
Visually impaired? Let me spell it for you (wav file) download WAV