Implemented extern functions

This commit is contained in:
Eduard Urbach 2025-02-12 00:04:30 +01:00
parent 38b573085e
commit 4803b81845
Signed by: eduard
GPG key ID: 49226B848C78F6C8
24 changed files with 304 additions and 169 deletions

6
src/core/IsExtern.go Normal file
View 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
}