예제 #1
0
파일: ip_addr.c 프로젝트: k8king/junkie
int scm_string_2_ip_addr(struct ip_addr *ip, SCM ip_)
{
    char *ip_str = scm_to_tempstr(ip_);
    if (0 != ip_addr_ctor_from_str_any(ip, ip_str)) return -1;
    return 0;
}
예제 #2
0
파일: mutex.c 프로젝트: krissg/junkie
static SCM g_set_thread_name(SCM name_)
{
    char *name = scm_to_tempstr(name_);
    set_thread_name(name);
    return SCM_UNSPECIFIED;
}