Implemented extern functions
This commit is contained in:
parent
38b573085e
commit
4803b81845
24 changed files with 304 additions and 169 deletions
6
src/core/IsExtern.go
Normal file
6
src/core/IsExtern.go
Normal file
|
@ -0,0 +1,6 @@
|
|||
package core
|
||||
|
||||
// IsExtern returns true if the function has no body.
|
||||
func (f *Function) IsExtern() bool {
|
||||
return f.Body == nil
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue