mirror of
				https://github.com/janet-lang/janet
				synced 2025-10-30 23:23:07 +00:00 
			
		
		
		
	fix C format
This commit is contained in:
		| @@ -1,5 +1,5 @@ | |||||||
| /* | /* | ||||||
| * Copyright (c) 2019 Calvin Rose | * Copyright (c) 2019 Calvin Rose & contributors | ||||||
| * | * | ||||||
| * Permission is hereby granted, free of charge, to any person obtaining a copy | * Permission is hereby granted, free of charge, to any person obtaining a copy | ||||||
| * of this software and associated documentation files (the "Software"), to | * of this software and associated documentation files (the "Software"), to | ||||||
| @@ -323,19 +323,23 @@ static Janet cfun_typed_array_properties(int32_t argc, Janet *argv) { | |||||||
|  |  | ||||||
|  |  | ||||||
| static const JanetReg ta_cfuns[] = { | static const JanetReg ta_cfuns[] = { | ||||||
|     {   "tarray/new", cfun_typed_array_new, |     { | ||||||
|  |         "tarray/new", cfun_typed_array_new, | ||||||
|         JDOC("(tarray/new type size [stride = 1 [offset = 0 [tarray | buffer]]] )\n\n" |         JDOC("(tarray/new type size [stride = 1 [offset = 0 [tarray | buffer]]] )\n\n" | ||||||
|              "Create new typed array") |              "Create new typed array") | ||||||
|     }, |     }, | ||||||
|     {   "tarray/buffer", cfun_typed_array_buffer, |     { | ||||||
|  |         "tarray/buffer", cfun_typed_array_buffer, | ||||||
|         JDOC("(tarray/buffer (array | size) )\n\n" |         JDOC("(tarray/buffer (array | size) )\n\n" | ||||||
|              "return typed array buffer or create a new buffer ") |              "return typed array buffer or create a new buffer ") | ||||||
|     }, |     }, | ||||||
|     {   "tarray/length", cfun_typed_array_size, |     { | ||||||
|  |         "tarray/length", cfun_typed_array_size, | ||||||
|         JDOC("(tarray/length (array | buffer) )\n\n" |         JDOC("(tarray/length (array | buffer) )\n\n" | ||||||
|              "return typed array or buffer size ") |              "return typed array or buffer size ") | ||||||
|     }, |     }, | ||||||
|     {   "tarray/properties", cfun_typed_array_properties, |     { | ||||||
|  |         "tarray/properties", cfun_typed_array_properties, | ||||||
|         JDOC("(tarray/properties array )\n\n" |         JDOC("(tarray/properties array )\n\n" | ||||||
|              "return typed array properties as a struct") |              "return typed array properties as a struct") | ||||||
|     }, |     }, | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 J.-F. Cap
					J.-F. Cap