Move namespace-info.vala to namespace-info.vala.in
This makes it possible for the .gir file to contain the dynamic API version.
This commit is contained in:
		
							
								
								
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							| @@ -58,6 +58,7 @@ Makefile.in | ||||
| /src/matrix-event-room-member.c | ||||
| /src/matrix-event-state-base.c | ||||
| /src/matrix-event-room-message.c | ||||
| /src/namespace-info.vala | ||||
| /src/namespace-info.c | ||||
| /src/matrix-event-room-topic.c | ||||
| /src/matrix-event-typing.c | ||||
|   | ||||
| @@ -204,6 +204,7 @@ AC_CONFIG_FILES([ | ||||
|     src/Makefile | ||||
|     src/matrix-version.h | ||||
|     src/matrix-glib-0.0.pc | ||||
|     src/namespace-info.vala | ||||
|     docs/Makefile | ||||
|     docs/valadoc/Makefile | ||||
|     docs/valadoc/gtk-doc/Makefile | ||||
|   | ||||
| @@ -16,8 +16,8 @@ | ||||
|  * <http://www.gnu.org/licenses/>. | ||||
|  */ | ||||
| 
 | ||||
| [CCode (gir_namespace = "Matrix", gir_version = "0.10")] | ||||
| [CCode (gir_namespace = "Matrix", gir_version = "@MATRIX_GLIB_API_VERSION@")] | ||||
| namespace Matrix { | ||||
|     [CCode (gir_namespace = "Event", gir_version = "0.10")] | ||||
|     [CCode (gir_namespace = "Event", gir_version = "@MATRIX_GLIB_API_VERSION@")] | ||||
|     namespace Event {} | ||||
| } | ||||
		Reference in New Issue
	
	Block a user