Reading Gauche/Reading Gauche 0.9/gc/include/gc.h/GC_word


Top / Reading Gauche / Reading Gauche 0.9 / gc / include / gc.h / GC_word

GC_word

概要

GC_wordの型をunsigned long (32bit)、unsigned long long(64bit)を採用。過去のシステムの互換性を考慮して、以下の定義を行っている。

/* Define word and signed_word to be unsigned and signed types of the 	*/
/* size as char * or void *.  There seems to be no way to do this	*/
/* even semi-portably.  The following is probably no better/worse 	*/
/* than almost anything else.						*/
/* The ANSI standard suggests that size_t and ptr_diff_t might be 	*/
/* better choices.  But those had incorrect definitions on some older	*/
/* systems.  Notably "typedef int size_t" is WRONG.			*/
#ifndef _WIN64
 typedef unsigned long GC_word;
 typedef long GC_signed_word; 
#else
 /* Win64 isn't really supported yet, but this is the first step. And	*/
 /* it might cause error messages to show up in more plausible places.	*/
 /* This needs basetsd.h, which is included by windows.h.	 	*/
 typedef unsigned long long GC_word;
 typedef long long GC_signed_word;
#endif

調べるもの

参照元

コメント

コメントはありません。 コメント/Reading Gauche/Reading Gauche 0.9/gc/include/gc.h/GC_word?

お名前:

MENU

now: 3

リンク


最新の20件
2020-03-23 2020-03-17 2019-12-22 2019-07-30 2019-06-20 2019-06-19 2019-03-24 2018-10-07 2018-09-20 2017-09-29 2017-01-10 2016-12-11 2016-10-04 2016-08-14
最新の20件
2010-02-01 2010-01-31 2010-01-30 2010-01-29 2010-01-16

Counter: 1244, today: 1, yesterday: 0

リロード   新規 編集 凍結 差分 添付 複製 改名   トップ 一覧 検索 最終更新 バックアップ   ヘルプ   最終更新のRSS

Last-modified: 2010-01-04 (月) 19:41:13 (3736d);  Modified by mona
PukiWiki 1.4.6 Copyright © 2001-2005 PukiWiki Developers Team. License is GPL.
Based on "PukiWiki" 1.3 by yu-ji
Powered by PHP 5.2.17
HTML convert time to 0.029 sec.