[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [plt-scheme] extension case senstivity

At Thu, 9 May 2002 08:24:24 -0700 (PDT), Ron Stanonik wrote:
> I'm writing a mzscheme extension (200alpha14-cvs15mar2002) and
> noticed that extension function names with mixed cased aren't
> recognized by mzscheme.  For example,
>   scheme_add_global("sch_padID",
>     scheme_make_prim_w_arity(sch_padID, "sch_padID", 1, 1), env);
> DrScheme reports "undefined identifier: sch_padID".

The easiest solution is to use scheme_add_global_symbol(), and create
the first argument using scheme_intern_exact_symbol() (as opposed to