mirror of
				https://github.com/bellard/quickjs.git
				synced 2025-05-29 01:49:18 +08:00 
			
		
		
		
	Expose JS_SetUncatchableError() (#262)
				
					
				
			* Expose `JS_SetUncatchableError()` * Remove unnecessary `JS_SetUncatchableError` declaration
This commit is contained in:
		
							parent
							
								
									d53aafe0f3
								
							
						
					
					
						commit
						6f9d05fd2b
					
				@ -1276,7 +1276,6 @@ static JSValue js_module_ns_autoinit(JSContext *ctx, JSObject *p, JSAtom atom,
 | 
			
		||||
                                 void *opaque);
 | 
			
		||||
static JSValue JS_InstantiateFunctionListItem2(JSContext *ctx, JSObject *p,
 | 
			
		||||
                                               JSAtom atom, void *opaque);
 | 
			
		||||
void JS_SetUncatchableError(JSContext *ctx, JSValueConst val, BOOL flag);
 | 
			
		||||
static JSValue js_object_groupBy(JSContext *ctx, JSValueConst this_val,
 | 
			
		||||
                                 int argc, JSValueConst *argv, int is_map);
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -635,6 +635,7 @@ JSValue JS_Throw(JSContext *ctx, JSValue obj);
 | 
			
		||||
JSValue JS_GetException(JSContext *ctx);
 | 
			
		||||
JS_BOOL JS_HasException(JSContext *ctx);
 | 
			
		||||
JS_BOOL JS_IsError(JSContext *ctx, JSValueConst val);
 | 
			
		||||
void JS_SetUncatchableError(JSContext *ctx, JSValueConst val, JS_BOOL flag);
 | 
			
		||||
void JS_ResetUncatchableError(JSContext *ctx);
 | 
			
		||||
JSValue JS_NewError(JSContext *ctx);
 | 
			
		||||
JSValue __js_printf_like(2, 3) JS_ThrowSyntaxError(JSContext *ctx, const char *fmt, ...);
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user