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: 4

リンク


最新の20件
2020-05-27 2020-05-22 2020-05-14 2020-05-12 2020-05-10 2020-04-27 2020-03-23
最新の20件
2010-02-01 2010-01-31 2010-01-30 2010-01-29 2010-01-16

Counter: 1266, today: 1, yesterday: 1

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

Last-modified: 2010-01-04 (月) 19:41:13 (3798d);  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.124 sec.