macOS/iOS API解説

iOS , Mac アプリケーション開発のために使われる主要フレームワークの日本語情報です。2010年代に書かれた内容です。今後更新はありません。

目次

CFSetCreateMutable

CFMutableSetRef  CFSetCreateMutable ( 
                  CFAllocatorRef   allocator , 
                  CFIndex   capacity , 
                  const CFSetCallBacks *   callBacks );

解説

返り値

引数

( CFAllocatorRef )allocator
( CFIndex )capacity
( const CFSetCallBacks * )callBacks

クラス

CFMutableSet

Function

使用可能

10.0

参照

例文

int err;
	
	err = 0;
	gClients = CFSetCreateMutable(NULL, 0, NULL);
	if (gClients == NULL) {
		err = ENOMEM;
	}