chicken-janitors
[Top][All Lists]
Advanced

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

[Chicken-janitors] [Chicken-bugs] #417: Add procedure information for C_


From: Chicken Scheme
Subject: [Chicken-janitors] [Chicken-bugs] #417: Add procedure information for C_* calls
Date: Tue, 29 Jan 2008 21:18:54 -0000

#417: Add procedure information for C_* calls
-------------------------------------------------------------+--------------
 Reporter:  Mark Fredrickson <address@hidden>  |        Type:  enhancement   
   Status:  new                                              |    Priority:  
minor         
Milestone:                                                   |   Component:  
core libraries
  Version:  2.6                                              |    Keywords:     
           
-------------------------------------------------------------+--------------
 As noted in this thread on the mailing list:

 http://lists.gnu.org/archive/html/chicken-users/2008-01/msg00184.html

 the various C_* procedures do not yield any information when calling
 (procedure-information +) for example.

 Kon suggested having a lookup on these special cases. To help, I created a
 quick script to test which procedures defined in the current interaction
 environment do not return pairs for procedure-information. The output is
 below, and the script attached.


 {{{
 (##sys#set-dlopen-flags! C_set_dlopen_flags)
 (##sys#string->number C_string_to_number)
 (string->number C_string_to_number)
 (getenv C_get_environment_variable)
 (##sys#decode-seconds C_decode_seconds)
 (##sys#memory-info C_get_memory_info)
 (##sys#round C_flonum_round)
 (apply C_apply)
 (expt C_expt)
 (argv C_get_argv)
 (##sys#number->string C_number_to_string)
 (number->string C_number_to_string)
 (##sys#make-pointer C_make_pointer)
 (##sys#make-tagged-pointer C_make_tagged_pointer)
 (quotient C_quotient)
 (cpu-time C_cpu_time)
 (##sys#continuation-graft C_continuation_graft)
 (##sys#make-structure C_make_structure)
 (##sys#gc C_gc)
 (##sys#make-symbol C_make_symbol)
 (##sys#context-switch C_context_switch)
 (##sys#apply-values C_apply_values)
 (values C_values)
 (##sys#call-with-cthulhu C_call_with_cthulhu)
 (##sys#file-info C_file_info)
 (##sys#copy-closure C_copy_closure)
 (##sys#flonum-fraction C_flonum_fraction)
 (##sys#symbol-table-info C_get_symbol_table_info)
 (##sys#allocate-vector C_allocate_vector)
 (##sys#intern-symbol C_string_to_symbol)
 (##sys#call-host C_return_to_host)
 (>= C_greater_or_equal_p)
 (<= C_less_or_equal_p)
 (##sys#values C_values)
 (##sys#cons-flonum C_cons_flonum)
 (##sys#apply C_apply)
 (##sys#call-with-current-continuation C_call_cc)
 (##sys#set-finalizer! C_register_finalizer)
 (##sys#dload C_dload)
 (##sys#call-with-values C_call_with_values)
 (call-with-values C_call_with_values)
 (##sys#peek-unsigned-integer C_peek_unsigned_integer)
 (##sys#peek-signed-integer C_peek_signed_integer)
 (##sys#open-file-port C_open_file_port)
 (##sys#exact->inexact C_exact_to_inexact)
 (exact->inexact C_exact_to_inexact)
 (return-to-host C_return_to_host)
 (##sys#ceiling C_flonum_ceiling)
 (##sys#become! C_become)
 (##sys#truncate C_flonum_truncate)
 (##sys#ensure-heap-reserve C_ensure_heap_reserve)
 (##sys#floor C_flonum_floor)
 (> C_greaterp)
 (= C_nequalp)
 (< C_lessp)
 (/ C_divide)
 (- C_minus)
 (+ C_plus)
 (* C_times)
 (##sys#stop-timer C_stop_timer)
 Total: 60
 }}}

 I'm on 2.6, but I understand the issue persists.

-- 
Ticket URL: <http://trac.callcc.org/ticket/417>
Chicken Scheme <http://www.call-with-current-continuation.org/>
The CHICKEN Scheme-to-C compiler

reply via email to

[Prev in Thread] Current Thread [Next in Thread]