forked from cory/tildefriends
		
	
		
			
	
	
		
			19 lines
		
	
	
		
			287 B
		
	
	
	
		
			C
		
	
	
	
	
	
		
		
			
		
	
	
			19 lines
		
	
	
		
			287 B
		
	
	
	
		
			C
		
	
	
	
	
	
|  | #pragma once
 | ||
|  | 
 | ||
|  | /**
 | ||
|  | ** \defgroup api_js JS API | ||
|  | ** Functions that are ultimately exposed to apps. | ||
|  | ** @{ | ||
|  | */ | ||
|  | 
 | ||
|  | /** A JS context. */ | ||
|  | typedef struct JSContext JSContext; | ||
|  | 
 | ||
|  | /**
 | ||
|  | ** Register JS API functions. | ||
|  | ** @param context The JS context. | ||
|  | */ | ||
|  | void tf_api_register(JSContext* context); | ||
|  | 
 | ||
|  | /** @} */ |