mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	merge revision(s) 57423:
Fix function name for DBM on extension document. Patch by Yuji Yaginuma, @y-yagi <yuuji.yaginuma@gmail.com> [ci skip][fix GH-1519] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@57873 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
		
							parent
							
								
									2105a06528
								
							
						
					
					
						commit
						849ac14453
					
				
					 3 changed files with 3 additions and 3 deletions
				
			
		|  | @ -865,7 +865,7 @@ Rubyは拡張ライブラリをロードする時に「Init_ライブラリ名 | |||
| DBMライブラリはdbmのデータと対応するオブジェクトになるはずで | ||||
| すから,Cの世界のdbmをRubyの世界に取り込む必要があります. | ||||
| 
 | ||||
| dbm.cではData_Make_Structを以下のように使っています. | ||||
| dbm.cではTypedData_Make_Structを以下のように使っています. | ||||
| 
 | ||||
|   struct dbmdata { | ||||
|       int  di_size; | ||||
|  |  | |||
|  | @ -802,7 +802,7 @@ Here's the example of an initializing function. | |||
|   } | ||||
| 
 | ||||
| The dbm extension wraps the dbm struct in the C environment using | ||||
| Data_Make_Struct. | ||||
| TypedData_Make_Struct. | ||||
| 
 | ||||
|   struct dbmdata { | ||||
|       int  di_size; | ||||
|  |  | |||
|  | @ -1,6 +1,6 @@ | |||
| #define RUBY_VERSION "2.4.0" | ||||
| #define RUBY_RELEASE_DATE "2017-03-12" | ||||
| #define RUBY_PATCHLEVEL 38 | ||||
| #define RUBY_PATCHLEVEL 39 | ||||
| 
 | ||||
| #define RUBY_RELEASE_YEAR 2017 | ||||
| #define RUBY_RELEASE_MONTH 3 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 naruse
						naruse