mirror of
https://github.com/golang/go.git
synced 2025-05-05 15:43:04 +00:00
Fix syntax highligting
parent
10c90e35ba
commit
c05f124b4e
5
cgo.md
5
cgo.md
@ -217,7 +217,8 @@ import "C"
|
||||
```
|
||||
|
||||
**clibrary.h**
|
||||
```
|
||||
|
||||
```c
|
||||
#ifndef CLIBRARY_H
|
||||
#define CLIBRARY_H
|
||||
typedef int (*callback_fcn)(int);
|
||||
@ -227,7 +228,7 @@ void some_c_func(callback_fcn);
|
||||
|
||||
**clibrary.c**
|
||||
|
||||
```go
|
||||
```c
|
||||
#include <stdio.h>
|
||||
|
||||
#include "clibrary.h"
|
||||
|
Loading…
x
Reference in New Issue
Block a user