mirror of
				https://github.com/GayPizzaSpecifications/pork.git
				synced 2025-11-04 01:49:39 +00:00 
			
		
		
		
	ffi: java interop improvements
This commit is contained in:
		@ -1,5 +1,8 @@
 | 
			
		||||
export func malloc(size)
 | 
			
		||||
  native ffi "c:malloc:void*"
 | 
			
		||||
  native ffi "c:malloc:void*:size_t"
 | 
			
		||||
 | 
			
		||||
export func calloc(size, count)
 | 
			
		||||
  native ffi "c:calloc:void*:size_t,size_t"
 | 
			
		||||
 | 
			
		||||
export func free(pointer)
 | 
			
		||||
  native ffi "c:free:void"
 | 
			
		||||
  native ffi "c:free:void:void*"
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user